JsonList class
The class JsonList is used to create a json list body for the request.
The JsonList class is used to express a list of json objects. Examples:
final body = JsonList([
{'name': 'John Doe', 'age': 30},
{'name': 'Jane Doe', 'age': 25},
]);
final body = JsonList(['1', '2', '3']);
final body = JsonList([1, 2, 3]);
final body = JsonList([true, false, true]);
Constructors
Properties
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