wants<O> method
Implementation
bool wants<O>(TinkStateEvent<O> event) {
return //
(type == null || type == event.type) &&
(name == null ||
name == event.name ||
(prefix && name != null && event.name.startsWith(name!))) &&
event.value is S;
}