EventSelector<T> class sealed

A selector of events: an exact EventKey or an EventPatternKey.

The type parameter is the local payload type. accepts is the only type check delivery needs; it is data is T.

Implementers

Properties

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

Methods

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

Operators

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