of static method
MEntityDefinition
of({
- required Uri? schemaURI,
- List<
IMSchemaProperty> ? properties, - required MSchemaRef? schemaRef,
- MSchemaRef? parentRef,
override
Implementation
static MEntityDefinition of({
required Uri? schemaURI,
List<IMSchemaProperty>? properties,
required MSchemaRef? schemaRef,
MSchemaRef? parentRef
}) {
final self = MEntityDefinition(<String, dynamic>{}, mtype: MEntityDefinitionRef, update: true);
if (schemaURI != null) self.schemaURI = schemaURI;
if (properties != null) self.properties = properties;
if (schemaRef != null) self.schemaRef = schemaRef;
if (parentRef != null) self.parentRef = parentRef;
return self;
}