addSubClosable method
Add SubAutoClosable instance to that Closer to handle its destruction when onClose called
Implementation
@override
void addSubClosable(SubAutoClosable subClosable) {
if (!attachedSubAutoclosables.contains(subClosable)) {
attachedSubAutoclosables.add(subClosable);
subClosables.add(subClosable);
}
}