BaseUnit class

Inheritance

Constructors

BaseUnit({required String code, required String? codeUC, required String property, required String dim, bool? isMetric, String? name, List<String>? synonyms, String? printSymbol})
Constructor for BaseUnit.

Properties

code String
Case sensitive code for this concept.
getter/setter pairinherited
codeUC String?
Case insensitive code for this concept.
getter/setter pairinherited
dim String
Abbreviation for property.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isMetric bool?
getter/setter pairinherited
kind ConceptKind
getter/setter pairinherited
names List<String>
Names for the concept.
getter/setter pairinherited
printSymbol String?
Print symbol for this code.
getter/setter pairinherited
property String
Kind of thing this base unit represents.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDescription() String
Method to get the description.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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