operator [] method

String? operator [](
  1. String fieldName
)

Returns the value of the field whose name is the index.

This method is case-insensitive with respect to the field name.

Implementation

String? operator [](String fieldName) {
  return getFieldValue(fieldName);
}