isEnabledField method

bool isEnabledField(
  1. String fieldEnum, {
  2. bool defaultValue = true,
})

Implementation

bool isEnabledField(String fieldEnum, {bool defaultValue = true}) {
  return _formGroup[fieldEnum]?.isEnabled ?? defaultValue;
}