updateActiveMap<K, V> static method

ActiveStateChanged<V> updateActiveMap<K, V>(
  1. K key,
  2. V? oldValue,
  3. V? newValue, {
  4. String? typeName,
})

updateActiveMap Method that describes ActiveStateChanged of type ActiveMap when you update a key value

Implementation

static ActiveStateChanged<V> updateActiveMap<K, V>(
    K key, V? oldValue, V? newValue,
    {String? typeName}) {
  return ActiveStateChanged<V>(newValue, oldValue,
      typeName: typeName, info: 'Map $key key value updated to : $key');
}