SchemaObject.addField

Adds an array of schema objects to the schema object.

  1. void addField(string key, T schemaObject)
  2. void addField(string key, T[] values)
    class SchemaObject
    final
    void
    addField
    (
    string key
    ,
    T[] values
    )
  3. void addField(string key, T value)

Parameters

key string

The key of the field.

values T[]

An array of schema objects to add.

Meta