DynamicListener class
Describes a dynamically loaded listener via the LDS API.
[#next-free-field: 6]
Constructors
- DynamicListener({DynamicListenerState? activeState, DynamicListenerState? drainingState, UpdateFailureState? errorState, String? name, DynamicListenerState? warmingState})
- DynamicListener.fromJson(Map json_)
Properties
- activeState ↔ DynamicListenerState?
-
The listener state for any active listener by this name.
getter/setter pair
- drainingState ↔ DynamicListenerState?
-
The listener state for any draining listener by this name.
getter/setter pair
- errorState ↔ UpdateFailureState?
-
Set if the last update failed, cleared after the next successful update.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The name or unique id of this listener, pulled from the
DynamicListenerState config.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- warmingState ↔ DynamicListenerState?
-
The listener state for any warming listener by this name.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited