contains method

bool contains(
  1. String? controlName
)

Check whether there is a control with the given name in the group.

Implementation

bool contains(String? controlName) =>
    controls.containsKey(controlName) && controls[controlName]!.enabled;