mapValue property

Map<String, Json> mapValue

Returns a Map or an empty Map if rawValue is not a Map Each value of the map is wrapped in a Json

Implementation

Map<String, Json> get mapValue => (_rawValue is Map)
    ? (_rawValue as Map).map<String, Json>((dynamic key, dynamic value) => MapEntry('$key', Json.fromDynamic(value)))
    : {};