Observable<T> constructor Null safety

Observable<T>(
  1. {required T initialValue,
  2. void onChanged(
    1. T value
    )?,
  3. bool checkEquality = true}
)

Implementation

Observable({required T initialValue, this.onChanged, this.checkEquality = true}) : _value = initialValue;