StateObject<T> constructor

StateObject<T>({
  1. required T initValue,
  2. T? newValue,
})

Implementation

StateObject({required super.initValue, T? newValue})
    : _currentValue = newValue ?? initValue;