ClosableStringSinkMixin mixin
class MyClosableStringSink with ClosableStringSinkMixin implements ClosableStringSink {
// Must override
@override
ClosableStringSink get closableStringSink;
...
}
Methods
-
close()
→ void
-
Closes
this
and flushes any outstanding data.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
write(Object? object)
→ void
-
Writes the string representation of
object
.
inherited
-
writeAll(Iterable objects, [String separator = ""])
→ void
-
Writes the elements of
objects
separated by separator
.
inherited
-
writeCharCode(int charCode)
→ void
-
Writes a string containing the character with code point
charCode
.
inherited
-
writeln([Object? object = ""])
→ void
-
Writes the string representation of
object
followed by a newline.
inherited