StreamingJsonString class
Streams a Stream<String> directly to the JSON sink as a single, properly escaped JSON string.
- Implemented types
Constructors
-
StreamingJsonString(Stream<
String> stream) -
const
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
-
writeJsonAsync(
StringSink sink, JsonEncoderCallback encode) → Future< void> -
Writes the JSON representation of this object directly to the
sink. Useencodeto safely serialize any nested child objects.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited