AmpDto class

Constructors

AmpDto({required String id, String? rev, int? deletionDate, int? from, int? to, String? code, VmpStubDto? vmp, String? officialName, AmpDtoStatusEnum? status, SamTextDto? name, required bool blackTriangle, AmpDtoMedicineTypeEnum? medicineType, CompanyDto? company, SamTextDto? abbreviatedName, SamTextDto? proprietarySuffix, SamTextDto? prescriptionName, List<AmppDto> ampps = const [], List<AmpComponentDto> components = const []})
Returns a new AmpDto instance.

Properties

abbreviatedName SamTextDto?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
ampps List<AmppDto>
getter/setter pair
blackTriangle bool
getter/setter pair
code String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
company CompanyDto?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
components List<AmpComponentDto>
getter/setter pair
deletionDate int?
hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.
getter/setter pair
from int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
getter/setter pair
medicineType AmpDtoMedicineTypeEnum?
getter/setter pair
name SamTextDto?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
officialName String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
prescriptionName SamTextDto?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
proprietarySuffix SamTextDto?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
rev String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status AmpDtoStatusEnum?
getter/setter pair
to int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
vmp VmpStubDto?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair

Methods

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.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) AmpDto?
Returns a new AmpDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AmpDto>?
mapFromJson(dynamic json) Map<String, AmpDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AmpDto>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.