notify method

void notify(
  1. String name,
  2. dynamic value,
  3. Function from,
  4. MapControllerChangeType type
)

Notify to the changefeed

Implementation

void notify(
    String name, dynamic value, Function from, MapControllerChangeType type) {
  final change = StatefulMapControllerStateChange(
      name: name, value: value, from: from, type: type);
  if (verbose) {
    print("Map state change: $change");
  }
  _subject.add(change);
}