JsonEncodeResult class

Output of JsonAdapter.encode: the encoded JSON plus diagnostics.

Constructors

JsonEncodeResult({required String content, required List<String> collapsedKeys})

Properties

collapsedKeys → List<String>
Keys whose ICU plural/select/selectordinal expression was collapsed to its other branch (flat-json only). Drives the lossy-event hint.
final
content → String
Canonical JSON bytes ready for the writer.
final
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