@override Future<bool> write(String data, String filename) async { Map<String, dynamic> options = {"data": data, "filename": filename}; return await methodChannel.invokeMethod("write", options); }