getOperation method
Implementation
Future<IMOperationDefinition> getOperation(MOperationRef ref,
{bool reload = false}) async {
//TODO:ericm deal with
// if (ref == userTaskOperationRef) return null;
// ignore: unnecessary_null_comparison
if (reload != true && _operations.containsKey(ref)) {
final operation = _operations[ref]!;
await _resolveOpSchemas(operation);
return operation;
} else {
final cached = await _cacheOperation(ref);
await _resolveOpSchemas(cached);
return cached;
}
}