fieldById method

  1. @override
Field? fieldById(
  1. String fieldId
)

Implementation

@override
Field? fieldById(String fieldId) {
  final List<Field> fields = flattenFields;
  for (final Field field in fields) {
    if (field.id == fieldId) {
      return field;
    }
  }
  return null;
}