ComponentCondition class

Information about the condition of a component.

Constructors

ComponentCondition({String? error, String? message, required String status, required String type})
Default constructor.
const
ComponentCondition.fromJson(Map<String, dynamic> json)
Creates a ComponentCondition from JSON data.
factory

Properties

error String?
Condition error code for a component. For example, a health check error code.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Message about the condition for a component. For example, information about a health check.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".
final
type String
Type of condition for a component. Valid value: "Healthy".
final

Methods

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

Operators

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