RealmValue.fromJson constructor
RealmValue.fromJson(
- String json
Constructs a RealmValue from a valid json string. The json object must contain only values that are supported by RealmValue.
Throws FormatException if the json
argument is not valid json.
Implementation
factory RealmValue.fromJson(String json) {
return RealmValue.from(jsonDecode(json));
}