Prefix constructor

Prefix({
  1. required String code,
  2. required String? codeUC,
  3. required UcumDecimal value,
  4. String? name,
  5. String? printSymbol,
})

Implementation

Prefix({
  required super.code,
  required super.codeUC,
  required this.value,
  String? name,
  super.printSymbol,
}) : super(
          kind: ConceptKind.prefix,
          names: name == null ? null : <String>[name]);