discontinuedPackage generic_enum_example has been discontinued.

DpiResolution enum

Inheritance
Available extensions
Annotations
  • @GenerateValueExtension.new(valueType: double, values: {'90.0', '300.0', '600.0'})
  • @GenerateJsonExtension.new()

Values

low → const DpiResolution
medium → const DpiResolution
high → const DpiResolution

Properties

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

Available on DpiResolution, provided by the ToDpiResolution extension

Converts this to a json encoded String.
no setter
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
stringValue → String

Available on DpiResolution, provided by the DpiResolutionValue extension

Returns the String identifier of an instance of DpiResolution.
no setter
value → double

Available on DpiResolution, provided by the DpiResolutionValue extension

Returns a map of type Map<double, DpiResolution> mapping each declared enum value to an instance of DpiResolution.
no setter
valueMap → Map<String, DpiResolution>

Available on DpiResolution, provided by the DpiResolutionValue extension

Returns a mapping of instance name to enum instance.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>

Available on DpiResolution, provided by the ToDpiResolution extension

Converts this to a map Map<String, dynamic>.
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

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