EventPatternKey<T> class final

A typed wildcard selector: the unit passed to listen/subscribe.

The pattern matches addresses only; delivery filters by type. fire and request require an exact EventKey.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setteroverride
pattern → EventPattern
The wildcard pattern.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Type
The local type captured when the key was created.
final

Methods

accepts(Object? data) → bool
Whether data has the selector's local type.
inherited
matches(EventAddress address) → bool
Whether the pattern matches the concrete address.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override