destroy<T extends MinController> static method
void
destroy<T extends MinController>()
Implementation
static void destroy<T extends MinController>() {
final type = T;
if (_instances.containsKey(type)) {
_instances[type]!.controller.onClose();
_instances.remove(type);
}
}