MethodChannelSafStream class

An implementation of SafStreamPlatform that uses method channels.

Inheritance

Constructors

MethodChannelSafStream()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyToLocalFile(String srcUri, String destPath) Future<void>
override
endWriteStream(String session) Future<void>
override
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>
override
readFileBytes(String uri, {int? start, int? count}) Future<Uint8List>
override
readFileStream(String uri, {int? bufferSize, int? start}) Future<Stream<Uint8List>>
override
startWriteStream(String treeUri, String fileName, String mime, {bool? overwrite}) Future<SafWriteStreamInfo>
override
toString() String
A string representation of this object.
inherited
writeChunk(String session, Uint8List data) Future<void>
override
writeFileBytes(String treeUri, String fileName, String mime, Uint8List data, {bool? overwrite}) Future<SafNewFile>
override

Operators

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