JsonEncoderLite class
This class converts JSON objects to strings.
Constructors
- JsonEncoderLite([dynamic toEncodable(dynamic object)?])
-
Creates a JSON encoder.
const
- JsonEncoderLite.withIndent(String? indent, [dynamic toEncodable(dynamic object)?])
-
Creates a JSON encoder that creates multi-line JSON.
const
Properties
Methods
-
convert(
Object? object) → String -
Converts
object
to a JSON String. -
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