getAsMap<T> method

Map<String, T> getAsMap<T>(
  1. String key, [
  2. Map<String, T>? orElse
])

Get the map corresponding to key in the map.

If key is not found, the map of orElse is returned.

Implementation

Map<String, T> getAsMap<T>(String key, [Map<String, T>? orElse]) =>
    _context.getAsMap(key, orElse);