SchemaObject constructor

SchemaObject(
  1. ObjectType baseType,
  2. Type type,
  3. String name,
  4. Iterable<SchemaProperty> properties,
)

Creates schema instance with object type and collection of object's properties.

Implementation

SchemaObject(this.baseType, this.type, this.name, Iterable<SchemaProperty> properties) : _properties = List.from(properties);