saveToRoot method

  1. @override
Future<String?> saveToRoot({
  1. required Uint8List bytes,
  2. required String fileName,
  3. String? folderPath,
})
override

Implementation

@override
Future<String?> saveToRoot({
  required Uint8List bytes,
  required String fileName,
  String? folderPath,
}) async {
  final String? result = await methodChannel.invokeMethod('saveToRoot', {
    'bytes': bytes,
    'fileName': fileName,
    'folderPath': folderPath,
  });
  return result;
}