Health class Null safety

A description of the application state, as provided in response to a FlutterDriver.checkHealth test.

Inheritance

Constructors

Health(HealthStatus status)
Creates a Health object with the given status.
const

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
status HealthStatus
The status represented by this object.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this message to a JSON map.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) Health
Deserializes the result from JSON.