StringConversionSinkMixin class Null safety

This class provides a mixin for converters that need to accept String inputs.

Implemented types
Implementers

Constructors

StringConversionSinkMixin()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(String str) → void
Adds chunked data to this sink.
override
addSlice(String str, int start, int end, bool isLast) → void
Adds the next chunk to this.
override
asStringSink() ClosableStringSink
Returns this as a ClosableStringSink.
override
asUtf8Sink(bool allowMalformed) ByteConversionSink
Returns this as a sink that accepts UTF-8 input.
override
close() → void
Closes the sink.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited