RestorableNum<T extends num> constructor

RestorableNum<T extends num>(
  1. 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);