MethodChannelSafStream class
An implementation of SafStreamPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SafStreamPlatform
- MethodChannelSafStream
Constructors
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
-
endWriteStream(
String session) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readFile(
Uri uri, {int? bufferSize}) → Future< Stream< Uint8List> > -
override
-
readFileToLocal(
Uri src, String dest) → Future< void> -
override
-
startWriteStream(
Uri treeUri, String fileName, String mime) → Future< SafWriteStreamInfo> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
writeChunk(
String session, Uint8List data) → Future< void> -
override
-
writeFileFromLocal(
String localSrc, Uri treeUri, String fileName, String mime) → Future< Uri> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited