isDownloaded static method

Future<bool> isDownloaded(
  1. String model
)

Implementation

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