FileSink class
- Implemented types
- Available extensions
Constructors
- FileSink(FileHandle handle, int position)
Properties
- asyncDispatched ↔ bool
-
getter/setter pairinherited
- closed ↔ bool
-
getter/setter pairinherited
- handle → FileHandle
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- position ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buffered(
) → BufferedSink -
Available on Sink, provided by the SinkBuffer extension
-
checkAvailable(
) → void -
inherited
-
close(
) → Future< void> -
Pushes all buffered bytes to their final destination and releases the resources held by this
sink. It is an error to write a closed sink. It is safe to close a sink more than once.
override
-
closedMessage(
) → Object -
inherited
-
dispatch<
T> (Future< T> f(), {bool close = false}) → Future<T> -
inherited
-
dispatchedMessage(
) → Object -
inherited
-
flush(
) → Future< void> -
Pushes all buffered bytes to their final destination.
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(
Buffer source, int count) → Future< void> -
Removes
countbytes fromsourceand appends them to this.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited