encode method
Encode gson
gson.encode({"hello": "world"}) // >> {hello: "world"}
Implementation
String encode(dynamic obj) { return encoder.encode(obj); }
Encode gson
gson.encode({"hello": "world"}) // >> {hello: "world"}
String encode(dynamic obj) { return encoder.encode(obj); }