SafStreamPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • SafStreamPlatform
Implementers

Constructors

SafStreamPlatform()
Constructs a SafStreamPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyToLocalFile(String srcUri, String destPath) Future<void>
endWriteStream(String session) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pasteLocalFile(String srcPath, String treeUri, String fileName, String mime, {bool? overwrite}) Future<SafNewFile>
readFileBytes(String uri, {int? start, int? count}) Future<Uint8List>
readFileStream(String uri, {int? bufferSize, int? start}) Future<Stream<Uint8List>>
startWriteStream(String treeUri, String fileName, String mime, {bool? overwrite}) Future<SafWriteStreamInfo>
toString() String
A string representation of this object.
inherited
writeChunk(String session, Uint8List data) Future<void>
writeFileBytes(String treeUri, String fileName, String mime, Uint8List data, {bool? overwrite}) Future<SafNewFile>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance SafStreamPlatform
The default instance of SafStreamPlatform to use.
getter/setter pair