watch method Null safety

  1. @override
Stream<Map<String, dynamic>?> watch(
  1. String dataId
)
override

Implementation

@override
Stream<Map<String, dynamic>?> watch(String dataId) =>
    _valueStream.map((data) => data[dataId]).distinct(
          (prev, next) => const DeepCollectionEquality().equals(
            prev,
            next,
          ),
        );