OptionUnit enum
The unit of measurement for an option. This is the same set of units as SANE_Unit.
Values
- unitless → const OptionUnit
-
Value is a unitless number, e.g. threshold.
const OptionUnit('UNITLESS')
- pixel → const OptionUnit
-
Value is a number of pixels, e.g., scan dimensions.
const OptionUnit('PIXEL')
- bit → const OptionUnit
-
Value is the number of bits, e.g., color depth.
const OptionUnit('BIT')
- mm → const OptionUnit
-
Value is measured in millimeters, e.g., scan dimensions.
const OptionUnit('MM')
- dpi → const OptionUnit
-
Value is measured in dots per inch, e.g., resolution.
const OptionUnit('DPI')
- percent → const OptionUnit
-
Value is a percent, e.g., brightness.
const OptionUnit('PERCENT')
- microsecond → const OptionUnit
-
Value is measured in microseconds, e.g., exposure time.
const OptionUnit('MICROSECOND')
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
- toJS → String
-
no setter
- value → String
-
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
Static Methods
-
fromJS(
String value) → OptionUnit
Constants
-
values
→ const List<
OptionUnit> - A constant List of the values in this enum, in order of their declaration.