DefinedUnit class

Inheritance

Constructors

DefinedUnit({required String code, required String? codeUC, required String property, required bool? isMetric, required bool? isSpecial, String? class_, required Value value, List<String>? names, String? printSymbol})
DefinedUnit.fromJson(Map<String, dynamic> json)
factory

Properties

class_ ↔ String?
getter/setter pair
code ↔ String
Case sensitive code for this concept.
getter/setter pairinherited
codeUC ↔ String?
Case insensitive code for this concept.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
isMetric ↔ bool?
getter/setter pairinherited
isSpecial ↔ bool?
getter/setter pair
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
value ↔ Value
getter/setter pair

Methods

getDescription() → String
Method to get the description.
override
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.
inherited

Operators

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