SchemaObject.addField

Adds a field to the schema object.

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

Parameters

key string

The key of the field.

value T

The value of the field.

Meta