ContainerStateTerminated class

ContainerStateTerminated is a terminated state of a container.

Constructors

ContainerStateTerminated({String? containerID, required int exitCode, DateTime? finishedAt, String? message, String? reason, int? signal, DateTime? startedAt})
The main constructor.
const
ContainerStateTerminated.fromJson(Map<String, dynamic> json)
Creates a ContainerStateTerminated from JSON data.

Properties

containerID String?
Container's ID in the format '
final
exitCode int
Exit status from the last termination of the container.
final
finishedAt DateTime?
Time at which the container last terminated.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Message regarding the last termination of the container.
final
reason String?
(brief) reason from the last termination of the container.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signal int?
Signal from the last termination of the container.
final
startedAt DateTime?
Time at which previous execution of the container started.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a ContainerStateTerminated instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<ContainerStateTerminated>
Creates a list of ContainerStateTerminated from JSON data.