getField method

String? getField(
  1. String fieldName
)

Implementation

String? getField(String fieldName) {
  return formFields?.firstWhereOrNull((element) => element.fieldName == fieldName)?.value;
}