PairedInstance class

Represents a object instance in a TypeChannelMessenger.

When two TypeChannelMessengers each maintain access to one of two paired objects, this class is used to represent both objects.

Two PairedInstances are equal if they share the same instanceId.

Constructors

PairedInstance(String instanceId)
Default constructor for PairedInstance.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
instanceId String
Unique identifier used to retrieve the instance this represents from a TypeChannelMessenger.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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