listener method
Implementation
void listener(Object? value) {
if (value is bool) {
close(force: value);
} else {
logger?.warning('$isolateName received unsupported message: $value');
}
}
void listener(Object? value) {
if (value is bool) {
close(force: value);
} else {
logger?.warning('$isolateName received unsupported message: $value');
}
}