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