ContainerState class
ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.
Constructors
- ContainerState({ContainerStateRunning? running, ContainerStateTerminated? terminated, ContainerStateWaiting? waiting})
-
Default constructor.
const
-
ContainerState.fromJson(Map<
String, dynamic> json) -
Creates a ContainerState from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- running → ContainerStateRunning?
-
Details about a running container.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terminated → ContainerStateTerminated?
-
Details about a terminated container.
final
- waiting → ContainerStateWaiting?
-
Details about a waiting container.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a ContainerState instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited