downloadFile static method

Future<void> downloadFile(
  1. Map<String, dynamic> file,
  2. bool autoSave
)

Implementation

static Future<void> downloadFile(
    Map<String, dynamic> file, bool autoSave) async {
  await _channel
      .invokeMethod('downloadFile', {'file': file, 'autoSave': autoSave});
}