JsonValueDto class sealed
Structured value carried over the wire.
The runtime tries to JSON-serialize values directly. When that fails or the
value is too large, it ships an opaque marker with a string representation
and a truncated flag.
- Implementers
Constructors
- JsonValueDto.encode(Object? value, {int maxLength = 4096})
-
Best-effort conversion of an arbitrary Dart value to a JsonValueDto.
factory
- JsonValueDto.fromJson(Object? raw)
-
factory
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
-
toJson(
) → Object? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited