getMapOpt<K, V> method

Map<K, V>? getMapOpt<K, V>(
  1. String key, [
  2. Decoder<Map<K, V>>? decode
])

Implementation

Map<K, V>? getMapOpt<K, V>(String key, [Decoder<Map<K, V>>? decode]) {
  if (map[key] == null) {
    return null;
  }
  return getMap<K, V>(key, decode);
}