add method

  1. @override
String add(
  1. ControllerMVC? c
)
override

Add a specific Controller to this View. Returns the Controller's unique String identifier.

Implementation

@override
String add(ControllerMVC? c) {
  if (c != null) {
    /// It may have been a listener. Can't be both.
    removeListener(c);
  }

  return super.add(c);
}