getMSchema method

Future<IMSchemaDefinition> getMSchema(
  1. BuildContext context
)

Fetches (or uses a cached) schema from the server. This would be a good target for an extension function if/when dart does that

Implementation

Future<IMSchemaDefinition> getMSchema(BuildContext context) async {
  return await context.consume<IMSchemaService>()!.getSchema(this.mtype);
}