SchemaObject.addField

Adds a schema object field to the schema object.

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

Parameters

key string

The key of the field.

schemaObject T

The schema object to add.

Meta