Availability enum

Equivalent of Availability from HealthConnectReporter https://github.com/kvs-coder/HealthConnectReporter

Whether Health Connect can be used on this device.

Inheritance
Available extensions

Values

available → const Availability

Health Connect is ready to use.

const Availability('available')
updateRequired → const Availability

The Health Connect app must be installed or updated from Google Play first (Android 13 and lower).

const Availability('update_required')
unavailable → const Availability

Health Connect does not run on this device.

const Availability('unavailable')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The library's JSON value
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<Availability>
A constant List of the values in this enum, in order of their declaration.