build static method

IMEntityDefinition build(
  1. MSchemaRef schemaRef,
  2. void builder(
    1. EntitySchemas schema
    )
)

Implementation

static IMEntityDefinition build(MSchemaRef schemaRef, void builder(EntitySchemas schema)) {
  final schema = EntitySchemas._(schemaRef);
  builder(schema);
  return schema._build();
}