StateObject<T> constructor
StateObject<T> ({
- required T initValue,
- T? newValue,
Implementation
StateObject({required super.initValue, T? newValue})
: _currentValue = newValue ?? initValue;