required

abstract var required: Boolean?(source)

Optional. Whether the input is required. If required and not present, will throw. Defaults to false