NutritionProductInstance class
NutritionProductInstance A food or supplement that is consumed by patients.
- Annotations
-
- @freezed
Constructors
-
NutritionProductInstance({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, List<FhirExtension> ? modifierExtension, Quantity? quantity, List<Identifier> ? identifier, String? name, @JsonKey(name: '_name') Element? nameElement, String? lotNumber, @JsonKey(name: '_lotNumber') Element? lotNumberElement, FhirDateTime? expiry, @JsonKey(name: '_expiry') Element? expiryElement, FhirDateTime? useBy, @JsonKey(name: '_useBy') Element? useByElement, Identifier? biologicalSource}) -
NutritionProductInstance A food or supplement that is consumed by patients.
constfactory
-
NutritionProductInstance.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- NutritionProductInstance.fromJsonString(String source)
-
Acts like a constructor, returns a NutritionProductInstance, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- NutritionProductInstance.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
- biologicalSource → Identifier?
-
no setterinherited
-
copyWith
→ $NutritionProductInstanceCopyWith<
NutritionProductInstance> -
no setterinherited
- expiry → FhirDateTime?
-
no setterinherited
- expiryElement → Element?
-
no setterinherited
-
extension_
→ List<
FhirExtension> ? -
no setterinherited
- fhirId → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
identifier
→ List<
Identifier> ? -
no setterinherited
- lotNumber → String?
-
no setterinherited
- lotNumberElement → Element?
-
no setterinherited
-
modifierExtension
→ List<
FhirExtension> ? -
no setterinherited
- name → String?
-
no setterinherited
- nameElement → Element?
-
no setterinherited
- quantity → Quantity?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useBy → FhirDateTime?
-
no setterinherited
- useByElement → Element?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String - Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String - Produces a Yaml formatted String version of the object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited