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.
-
locator
a locator to find the reference.
-
reference
a reference to component.
- Create a new instance of the reference object and assigns its values.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
getComponent(
) → dynamic -
- Gets the stored component reference.
- Return the component's references.
- Gets the stored component reference.
-
getLocator(
) → dynamic -
- Gets the stored component locator.
- Return the component's locator.
- Gets the stored component locator.
-
match(
dynamic locator) → bool -
- Matches locator to this reference locator.
- Descriptors are matched using equal method.
- All other locator types are matched using direct comparison.
-
locator
the locator to match.
- @return true if locators are matching and false it they don't.
- See Descriptor
- Matches locator to this reference locator.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited