mapValue property Null safety
override
Returns a Map or an empty Map if rawValue is not a Map Each value of the map is wrapped in a Json
Implementation
@override
Map<String, JsonPayload> get mapValue => (_rawValue is Map)
? (_rawValue as Map)
.map<String, JsonPayload>((dynamic key, dynamic value) => MapEntry('$key', JsonPayload.fromDynamic(value)))
: {};