JsonTool class

Tools for handling JSON objects throughout the app.

Constructors

JsonTool()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

readJson(String json) Map<String, dynamic>
Parses a JSON string into a Map object.
readJsonList(String json) List<Map<String, dynamic>>
Parses a JSON string into a list of Map objects.
readJsonOr(String json) List<Map<String, dynamic>>?
Parses a JSON string into a Map object.
writeJson(Map<String, dynamic> json) String
Parses a Map object into a JSON string.