getMap method
Returns JsonMap by key
If map not contains key
or the value has a different type and defaultValue
is null then throw FormatException
Implementation
JsonMap getMap(String key, [Map<String, dynamic>? defaultValue]) {
return JsonMap(_value<Map<String, dynamic>>(key, defaultValue), _onError);
}