operator [] method
Allows accessing the state of a form field using the subscript operator.
fieldNameThe name of the field to retrieve.- Returns: The state of the specified form field.
Implementation
FormFieldState operator [](String fieldName) => get(fieldName);