fileOpenWrite method
Opens path for writing and returns the stream handle.
Implementation
@override
Future<int> fileOpenWrite(
String path, {
bool append = false,
bool syncOnClose = false,
}) async =>
await methodChannel.invokeMethod<int>('fileOpenWrite', <String, Object?>{
'path': path,
'append': append,
'syncOnClose': syncOnClose,
}) ??
-1;