StringConversionSinkBase class Null safety
This class provides a base-class for converters that need to accept String inputs.
- Inheritance
-
- Object
- StringConversionSinkMixin
- StringConversionSinkBase
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
add(
String str) → void -
Adds chunked data to this sink.
inherited
-
addSlice(
String str, int start, int end, bool isLast) → void -
Adds the next
chunk
tothis
.inherited -
asStringSink(
) → ClosableStringSink -
Returns
this
as a ClosableStringSink.inherited -
asUtf8Sink(
bool allowMalformed) → ByteConversionSink -
Returns
this
as a sink that accepts UTF-8 input.inherited -
close(
) → void -
Closes the sink.
inherited
-
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