RestorableTimeOfDay constructor Null safety
- TimeOfDay defaultValue
Creates a RestorableTimeOfDay.
If no restoration data is available to restore the value in this property
from, the property will be initialized with the provided defaultValue
.
Implementation
RestorableTimeOfDay(TimeOfDay defaultValue) : _defaultValue = defaultValue;