getMap method

Map<String, dynamic>? getMap(
  1. dynamic name, {
  2. Map<String, dynamic>? defaultVal,
})

Implementation

Map<String, dynamic>? getMap(name, {Map<String, dynamic>? defaultVal}) {
  return (map[name] ?? defaultVal);
}