operator [] method

FormFieldState operator [](
  1. String fieldName
)

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

Implementation

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