VisionPrescriptionDispense class

Annotations
  • @freezed

Constructors

VisionPrescriptionDispense({@JsonKey(name: 'id') FhirId? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, required Coding product, @JsonKey(unknownEnumValue: DispenseEye.unknown) DispenseEye? eye, FhirDecimal? sphere, FhirDecimal? cylinder, FhirInteger? axis, FhirDecimal? prism, @JsonKey(unknownEnumValue: DispenseBase.unknown) DispenseBase? base, FhirDecimal? add, FhirDecimal? power, FhirDecimal? backCurve, FhirDecimal? diameter, Quantity? duration, String? color, String? brand, String? notes})
const
factory
VisionPrescriptionDispense.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
VisionPrescriptionDispense.fromJsonString(String source)
Acts like a constructor, returns a VisionPrescriptionDispense, accepts a String as an argument, mostly because I got tired of typing it out
factory
VisionPrescriptionDispense.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

add FhirDecimal?
no setterinherited
axis FhirInteger?
no setterinherited
backCurve FhirDecimal?
no setterinherited
base DispenseBase?
no setterinherited
brand String?
no setterinherited
color String?
no setterinherited
copyWith → $VisionPrescriptionDispenseCopyWith<VisionPrescriptionDispense>
no setterinherited
cylinder FhirDecimal?
no setterinherited
diameter FhirDecimal?
no setterinherited
duration Quantity?
no setterinherited
extension_ List<FhirExtension>?
no setterinherited
eye DispenseEye?
no setterinherited
fhirId FhirId?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
modifierExtension List<FhirExtension>?
no setterinherited
notes String?
no setterinherited
power FhirDecimal?
no setterinherited
prism FhirDecimal?
no setterinherited
product Coding
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sphere FhirDecimal?
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