Dart API Reference
dart:convert
StringConversionSinkBase
StringConversionSinkBase
class
This class provides a base-class for converters that need to accept String inputs.
This class provides a base-class for converters that need to accept String inputs.
Extends:
StringConversionSinkMixin
Object
Constructors
StringConversionSinkBase
( )
Instance Methods
add
Inherited
(
String
str
) →
void
Adds chunked data to this sink.
asUtf8Sink
Inherited
(
bool
allowMalformed
) →
ByteConversionSink
Returns this as a sink that accepts UTF-8 input.
asStringSink
Inherited
( ) →
ClosableStringSink
Returns this as a [ClosableStringSink].
close
Inherited
( ) →
void
Closes the sink.
addSlice
Inherited
(
String
str
,
int
start
,
int
end
,
bool
isLast
) →
void
Adds the next [chunk] to this.