PairedInstance class Null safety
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.
read-onlyoverride
- 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.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object? other) → bool -
The equality operator.
override