RestorableString constructor Null safety
- String defaultValue
Creates a RestorableString.
If no restoration data is available to restore the value in this property
from, the property will be initialized with the provided defaultValue
.
Implementation
RestorableString(super.defaultValue) : assert(defaultValue != null);