closeWith method
void
closeWith(
- HasCloser hasCloser, {
- void onClose()?,
Implementation
void closeWith(HasCloser hasCloser, {void Function()? onClose}) {
hasCloser.closer.addClosable(ClosableTicker(this, onClose));
}