SftpFileWriter class
Holds the state of a streaming write operation from stream to file.
- Mixed-in types
-
- Available extensions
Methods
-
abort()
→ Future<void>
-
Stops stream from emitting more data. Returns a Future that completes
when the underlying data source of stream has been successfully closed.
-
asStream()
→ Stream<void>
-
Creates a Stream containing the result of this future.
inherited
-
catchError(Function onError, {bool test(Object error)?})
→ Future<void>
-
Handles errors emitted by this Future.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pause()
→ void
-
Pauses stream from emitting more data. It's safe to call this even if
the stream is already paused. Use resume to resume the operation.
-
resume()
→ void
-
Resumes stream after it has been paused. It's safe to call this even if
the stream is not paused. Use pause to pause the operation.
-
then<S>(FutureOr<S> onValue(void), {Function? onError})
→ Future<S>
-
Register callbacks to be called when this future completes.
inherited
-
timeout(Duration timeLimit, {FutureOr<void> onTimeout()?})
→ Future<void>
-
Stop waiting for this future after
timeLimit
has passed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
whenComplete(FutureOr action())
→ Future<void>
-
Registers a function to be called when this future completes.
inherited