MapNotifier<K, V> constructor

MapNotifier<K, V>([
  1. Map<K, V> map = const {}
])

Creates a map notifier.

Implementation

MapNotifier([Map<K, V> map = const {}]) : _map = Map<K, V>.from(map);