simpleDownload static method

Future<Uint8List?> simpleDownload(
  1. String? url
)

Implementation

static Future<Uint8List?> simpleDownload(String? url) async {
  try {
    Uint8List? response =
        await ModernFormDownloadPlatformHelper.simpleDownload(url);
    return response;
  } catch (e) {
    print("ERROR ModernFormDownloadHelper.simpleDownload() --> $e");
    return null;
  }
}