EventKey<T> class final

A typed exact address: the unit passed to fire, request, currentData and the other exact operations.

Equality is by address and type; a class rename changes neither the address nor the type identity, and neither reaches the wire.

Inheritance

Constructors

EventKey(String address)
EventKey.fromAddress(EventAddress address)

Properties

address → EventAddress
The exact address; the stable wire contract.
final
hashCode → int
The hash code for this object.
no setteroverride
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
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