Unit enum Null safety

Constants

acres → const Unit
const Unit(4)
centimeters → const Unit
const Unit(2)
degrees → const Unit
const Unit(11)
feet → const Unit
const Unit(9)
inches → const Unit
const Unit(7)
kilometers → const Unit
const Unit(3)
meters → const Unit
const Unit(0)
miles → const Unit
const Unit(5)
millimeters → const Unit
const Unit(1)
nauticalmiles → const Unit
const Unit(6)
radians → const Unit
const Unit(10)
values → const List<Unit>

A constant List of the values in this enum, in order of their declaration.

const List<Unit>
yards → const Unit
const Unit(8)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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