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