ImportResultDto class

Constructors

ImportResultDto({PatientDto? patient, List<HealthElementDto> hes = const [], List<ContactDto> ctcs = const [], List<String> warnings = const [], List<String> errors = const [], List<FormDto> forms = const [], List<HealthcarePartyDto> hcps = const [], List<DocumentDto> documents = const [], Map<String, MimeAttachmentDto> attachments = const {}})
Returns a new ImportResultDto instance.

Properties

attachments Map<String, MimeAttachmentDto>
getter/setter pair
ctcs List<ContactDto>
getter/setter pair
documents List<DocumentDto>
getter/setter pair
errors List<String>
getter/setter pair
forms List<FormDto>
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hcps List<HealthcarePartyDto>
getter/setter pair
hes List<HealthElementDto>
getter/setter pair
patient PatientDto?
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
warnings List<String>
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) ImportResultDto?
Returns a new ImportResultDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<ImportResultDto>?
mapFromJson(dynamic json) Map<String, ImportResultDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<ImportResultDto>>

Constants

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