Opener class
Helper class that opens components.
Constructors
- Opener()
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
-
isOpen(
List components) → bool -
- Checks if all components are opened.
-
isOpenOne(
dynamic component) → bool -
- Checks if specified component is opened.
-
open(
String correlationId, List components) → Future -
- Opens multiple components.
- To be opened components must implement IOpenable interface.
- If they don't the call to this method has no effect.
-
correlationId
(optional) transaction id to trace execution through call chain.
-
components
the list of components that are to be closed.
- Return Future that returns error or null no errors occured.
- Opens multiple components.
-
openOne(
String correlationId, dynamic component) → Future -
- Opens specific component.
- To be opened components must implement IOpenable interface.
- If they don't the call to this method has no effect.
-
correlationId
(optional) transaction id to trace execution through call chain.
-
component
the component that is to be opened.
- Return Future that returns error or null no errors occured.
- See IOpenable
- Opens specific component.