StringConversionSinkMixin mixin
class MyStringConversionSink with StringConversionSinkMixin implements StringConversionSink {
// Must override
@override
StringConversionSink get stringConversionSink;
...
}
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringConversionSink → StringConversionSink
-
no setter
Methods
-
add(
String str) → void -
Adds chunked data to this sink.
inherited
-
addSlice(
String chunk, int start, int end, bool isLast) → void -
Adds the next
chunk
tothis
.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.
inherited
-
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