Angle class Null safety

Inheritance

Constructors

Angle({int significantFigures = 10, bool removeTrailingZeros = true, dynamic name})
Class for angle conversions, e.g. if you want to convert 1 radiant in degree: [...]

Properties

degree Unit
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
mapSymbols Map<ANGLE, String>
final
minutes Unit
read-only
name ↔ dynamic
read / write, inherited
radians Unit
read-only
removeTrailingZeros bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seconds Unit
read-only
significantFigures int
read / write
size int
late, final, inherited
unit_conversion Node
read / write, inherited
unitList List<Unit>
read / write, inherited

Methods

convert(ANGLE name, double? value) → void
Converts a unit with a specific name (e.g. ANGLE.degree) and value to all other units
override
getAll() List<Unit>
Returns all the units converted with prefixes
inherited
getUnit(dynamic name) Unit
Returns the Unit with the corresponding name
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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