contains method Null safety

  1. @override
bool contains(
  1. String name
)
override

Checks if collection contains a control by a given name.

Returns true if collection contains the control, otherwise returns false.

Implementation

@override
bool contains(String name) {
  return _controls.containsKey(name);
}