Referencer class

Helper class that sets and unsets references to components.

See IReferenceable See IUnreferenceable

Constructors

Referencer()

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

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

Static Methods

setReferences(IReferences references, List components) → void
  • Sets references to multiple components.
    • To set references components must implement IReferenceable interface.
    • If they don't the call to this method has no effect.
      • references the references to be set.
      • components a list of components to set the references to.
    • See IReferenceable
  • setReferencesForOne(IReferences references, dynamic component) → void
  • Sets references to specific component.
    • To set references components must implement IReferenceable interface.
    • If they don't the call to this method has no effect.
      • references the references to be set.
      • component the component to set references to.
    • See IReferenceable
  • unsetReferences(List components) → void
  • Unsets references in multiple components.
    • To unset references components must implement IUnreferenceable interface.
    • If they don't the call to this method has no effect.
      • components the list of components, whose references must be cleared.
    • See IUnreferenceable
  • unsetReferencesForOne(dynamic component) → void
  • Unsets references in specific component.
    • To unset references components must implement IUnreferenceable interface.
    • If they don't the call to this method has no effect.
      • component the component to unset references.
    • See IUnreferenceable