download static method

Future<bool> download(
  1. String model
)

Implementation

static Future<bool> download(String model) async {
  try {
    return await channel
        .invokeMethod('download', <String, dynamic>{'model': model});
  } catch (e) {
    print(e);
    return false;
  }
}