removeByKey method
Remove a specific 'StateXController' by its unique 'key' identifier.
Implementation
bool removeByKey(String? id) {
bool removed = id != null;
if (removed) {
final con = controllerById(id);
removed = con != null;
if (removed) {
removed = remove(con);
}
}
return removed;
}