SinkWithCounter class

/////////////////////////////////////////////////////////////////////////// Web-compatible stub implementation of SinkWithCounter.

This implementation provides the same API as the IO version but throws UnsupportedError for operations that require file system access.

Constructors

SinkWithCounter(dynamic sink)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sink → dynamic
Placeholder for sink - not used on web platform
final
written int
getter/setter pair

Methods

add(List<int> buffer) → void
File operations are not supported on the web platform.
close() Future<void>
File operations are not supported on the web platform.
flush() Future<void>
File operations are not supported on the web platform.
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