writeContent static method
Directly writes a content as a Uint8List
Implementation
static Future<void> writeContent(String uri, Uint8List bytes,
{String mode = "wt"}) async {
try {
await _channel.invokeMethod(
'writeContent', {"uri": uri, "bytes": bytes, "mode": mode});
} on Exception {
throw Exception('Handling URI "$uri" failed.');
}
}