operator [] method

FormFieldState operator [](
  1. String fieldName
)

Allows accessing the state of a form field using the subscript operator.

  • fieldName The name of the field to retrieve.
  • Returns: The state of the specified form field.

Implementation

FormFieldState operator [](String fieldName) => get(fieldName);