entitySchema property

IMEntityDefinition entitySchema

Implementation

IMEntityDefinition get entitySchema {
  if (this.mschema?.wrapped['mtype'] == MEntityDefinitionRef.value) {
    return IMEntityDefinition.fromJson(this.mschema!.wrapped);
  } else {
    throw "Couldn't convert schema to mEntityDefinition";
  }
}