Reference class

Contains a reference to a component and locator to find it. It is used by References to store registered component references.

Constructors

Reference(dynamic locator, dynamic component)
Create a new instance of the reference object and assigns its values.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getComponent() → dynamic
Gets the stored component reference.
getLocator() → dynamic
Gets the stored component locator.
match(dynamic locator) bool
Matches locator to this reference locator.
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