Quantity class
- Annotations
-
- @freezed
Constructors
- Quantity({@JsonKey(name: 'ID') String? id, @JsonKey(name: 'Value') double? value, @JsonKey(name: 'Comparator') ComparatorEnum? comparator, @JsonKey(name: 'Unit') String? unit, @JsonKey(name: 'System') String? system, @JsonKey(name: 'Code') String? code})
-
factory
-
Quantity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- code → String?
-
no setterinherited
- comparator → ComparatorEnum?
-
no setterinherited
-
copyWith
→ $QuantityCopyWith<
Quantity> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- system → String?
-
no setterinherited
- unit → String?
-
no setterinherited
- value → double?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited