wants<O> method

bool wants<O>(
  1. TinkStateEvent<O> event
)

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;
}