DeviceMetricColorEnum enum

Actual enum for DeviceMetricColor

Inheritance
Available extensions

Values

black → const DeviceMetricColorEnum

black

red → const DeviceMetricColorEnum

red

green → const DeviceMetricColorEnum

green

yellow → const DeviceMetricColorEnum

yellow

blue → const DeviceMetricColorEnum

blue

magenta → const DeviceMetricColorEnum

magenta

cyan → const DeviceMetricColorEnum

cyan

white → const DeviceMetricColorEnum

white

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts the enum value to a string.
toString() String
Returns the enum value as a string.
override

Operators

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

Static Methods

fromJson(dynamic json) DeviceMetricColorEnum?
Converts a string/JSON value to the corresponding enum value.
fromString(String? value) DeviceMetricColorEnum?
Converts a string to the corresponding enum value.

Constants

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