StringConversionSinkMixin abstract class
This class provides a mixin for converters that need to accept String inputs.
- Implements
- Implemented by
Constructors
Properties
- hashCode → int read-only, inherited
-
The hash code for this object.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- add(
String str) → void -
Adds chunked data to this sink.
- addSlice(
String str, int start, int end, bool isLast) → void -
Adds the next
chunk
tothis
. - asStringSink(
) → ClosableStringSink -
Returns
this
as aClosableStringSink
. - asUtf8Sink(
bool allowMalformed) → ByteConversionSink -
Returns
this
as a sink that accepts UTF-8 input. - close(
) → void -
Closes the sink.
- noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- toString(
) → String inherited -
Returns a string representation of this object.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-convert/StringConversionSinkMixin-class.html