isModelDownloaded method

Future<bool> isModelDownloaded(
  1. String modelName
)

Implementation

Future<bool> isModelDownloaded(String modelName) async {
  final result = await Vision.channel.invokeMethod('vision#manageRemoteModel',
      <String, dynamic>{"task": "check", "model": modelName});
  return result as bool;
}