Skip to content

DummyHealthData

A minimal health Data type that holds only a uuid.

Not produced by the HealthProbe and not registered for JSON deserialization in HealthSamplingPackage.onRegister.

Inheritance
Annotations

Constructors

DummyHealthData.fromJson

DummyHealthData.fromJson(
  1. Map<String, dynamic> json
)

DummyHealthData

DummyHealthData({
  1. required String uuid,
})

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

uuid

String uuid
getter/setter pair

A unique UUID of this data point.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.