Skip to main content

Schema

Represents dynamic property schema, associated with the entity type.

Constructors

new Schema()

new Schema(dart): Schema

Parameters

ParameterType
dartany

Returns

Schema

Source

src/entities.ts:1771

Properties

PropertyModifierType
dartpublicany

Accessors

entityTypes

get entityTypes(): EntityType[]

Entity types associated with this schema.

set entityTypes(et): void

Parameters

ParameterType
etEntityType[]

Returns

EntityType[]

Source

src/entities.ts:1786


name

get name(): string

Returns

string

Source

src/entities.ts:1779


properties

get properties(): EntityProperty[]

Schema properties

set properties(p): void

Parameters

ParameterType
pEntityProperty[]

Returns

EntityProperty[]

Source

src/entities.ts:1782

Methods

create()

static create(name): Schema

Parameters

ParameterType
namestring

Returns

Schema

Source

src/entities.ts:1775