remove method

bool remove(
  1. String keyId
)
inherited

Remove a specific associated 'Controller' from this StateMVC object by using its unique 'key' identifier.

Implementation

bool remove(String keyId) {
  final con = _map[keyId];
  final there = con != null;
  if (there) {
    con._popState(_stateMVC);
    _map.remove(keyId);
  }
  return there;
}