loadModel static method
initialize loadModel before calling any other streams and futures.
Implementation
static Future loadModel(
{required String model,
required String label,
required String inputType,
bool outputRawScores = false,
int numThreads = 1,
bool isAsset = true}) async {
return _channel.invokeMethod(
'loadModel',
{
'model': model,
'label': label,
'inputType': inputType,
'outputRawScores': outputRawScores,
'numThreads': numThreads,
'isAsset': isAsset,
},
);
}