OptionUnit enum

Indicates the data type for ScannerOption.unit.

Inheritance
Available extensions

Values

unitless → const OptionUnit

The value is a unitless number. For example, it can be a threshold.

const OptionUnit('UNITLESS')
pixel → const OptionUnit

The value is a number of pixels, for example, scan dimensions.

const OptionUnit('PIXEL')
bit → const OptionUnit

The value is the number of bits, for example, color depth.

const OptionUnit('BIT')
mm → const OptionUnit

The value is measured in millimeters, for example, scan dimensions.

const OptionUnit('MM')
dpi → const OptionUnit

The value is measured in dots per inch, for example, resolution.

const OptionUnit('DPI')
percent → const OptionUnit

The value is a percent, for example, brightness.

const OptionUnit('PERCENT')
microsecond → const OptionUnit

The value is measured in microseconds, for example, 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 → JSString
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(JSString value) → OptionUnit

Constants

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