JsonObject constructor
Returns and treats the given value
as a JSON object.
This is a zero-cost operation, and is provided as a convenience so that you can treat a map of String to JsonValue as a JSON object without needing to create a new instance.
Implementation
factory JsonObject(Map<String, JsonValue> value) {
return JsonObject._(value as Map<String, JsonAny>);
}