SolidAngleUnit enum
Represents units of solid angle.
This enum implements the Unit interface to provide conversion capabilities and a display symbol for each solid angle unit. All conversion factors are pre-calculated in the constructor relative to Steradian (sr).
- Inheritance
- Implemented types
- Available extensions
Values
- steradian → const SolidAngleUnit
-
Steradian (sr), the SI derived unit of solid angle.
const SolidAngleUnit(1, 'sr') - squareDegree → const SolidAngleUnit
-
Square Degree (deg²), a non-SI unit for solid angle.
const SolidAngleUnit(SolidAngleFactors.steradiansPerSquareDegree, 'deg²') - spat → const SolidAngleUnit
-
Spat (sp), an obsolete unit for the solid angle of a full sphere (4π sr).
const SolidAngleUnit(SolidAngleFactors.steradiansPerSpat, 'sp')
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
- symbol → String
-
A human-readable symbol or abbreviation for the unit.
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
Constants
-
values
→ const List<
SolidAngleUnit> - A constant List of the values in this enum, in order of their declaration.