switchModel method
Implementation
Future<void> switchModel(String modelPath, YOLOTask task) async {
  if (_methodChannel != null && _viewId != null) {
    await _methodChannel!.invokeMethod('setModel', {
      'modelPath': modelPath,
      'task': task.name,
    });
  }
}