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:1773

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:1788


name

get name(): string

Returns

string

Source

src/entities.ts:1781


properties

get properties(): EntityProperty[]

Schema properties

set properties(p): void

Parameters

ParameterType
pEntityProperty[]

Returns

EntityProperty[]

Source

src/entities.ts:1784

Methods

create()

static create(name): Schema

Parameters

ParameterType
namestring

Returns

Schema

Source

src/entities.ts:1777