JsonConverts class

json map 对 Map<String, dynamic> json array 对 List

Constructors

JsonConverts([List<JsonConvert>? converts])

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadJson<T extends Store>(Map<String, dynamic> from, T to) → T
loadJsonString<T extends Store>(String source, T to) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(Store from) Map<String, dynamic>
toJsonString(Store from, {JsonEncoder encoder = const JsonEncoder()}) String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited