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