Document class
- Available extensions
Constructors
-
Document({String? id, String? rev, int? created, int? modified, String? author, String? responsible, String? medicalLocationId, int? deletionDate, String? objectStoreReference, String? mainUti, String? name, String? version, Set<
String> otherUtis = const {}, String? externalUuid, int? size, String? hash, String? attachmentId}) - Returns a new Document instance.
Properties
- attachmentId ↔ String?
-
Id of attachment to this document
getter/setter pair
-
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
- created ↔ 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
- deletionDate ↔ 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
- externalUuid ↔ String?
-
A unique external id (from another external source).
getter/setter pair
- hash ↔ String?
-
Hashed version of the document
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
The Id of the document. We encourage using either a v4 UUID or a HL7 Id.
getter/setter pair
- mainUti ↔ String?
-
The main Uniform Type Identifier of the document (https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html#//apple_ref/doc/uid/TP40001319-CH202-CHDHIJDE)
getter/setter pair
- medicalLocationId ↔ 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
- modified ↔ 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
- name ↔ String?
-
Name of the document
getter/setter pair
- objectStoreReference ↔ String?
-
Reference in object store
getter/setter pair
-
otherUtis
↔ Set<
String> -
Extra Uniform Type Identifiers
getter/setter pair
- responsible ↔ 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
- rev ↔ String?
-
The revision of the document in the database, used for conflict management / optimistic locking.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ int?
-
Size of the document file
getter/setter pair
- version ↔ String?
-
The document version
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDecryptedDocumentDto(
) → DecryptedDocumentDto -
Available on Document, provided by the DocumentMapper extension
-
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) → Document? -
Returns a new Document instance and imports its values from
value
if it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< Document> ? -
mapFromJson(
dynamic json) → Map< String, Document> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< Document> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.