DocumentTemplate class abstract

Implemented types
Annotations
  • @freezed

Constructors

DocumentTemplate.new({required String id, @Default(null) String? rev, @Default(null) int? created, @Default(null) int? modified, @Default(null) String? author, @Default(null) String? responsible, @Default(null) String? medicalLocationId, @Default({}) Set<CodeStub> tags, @Default({}) Set<CodeStub> codes, @Default(null) int? endOfLife, @Default(null) int? deletionDate, @Default(null) Uint8List? attachment, @Default(null) DocumentType? documentType, @Default(null) String? mainUti, @Default(null) String? name, @Default({}) Set<String> otherUtis, @Default(null) String? attachmentId, @Default(null) ReportVersion? version, @Default(null) String? owner, @Default(null) String? guid, @Default(null) DocumentGroup? group, @Default(null) String? descr, @Default(null) String? disabled, @Default(null) CodeStub? specialty})
const
factory

Properties

attachment Uint8List?
no setterinherited
attachmentId String?
no setterinherited
author String?
no setterinherited
codes Set<CodeStub>
no setterinherited
copyWith → $DocumentTemplateCopyWith<DocumentTemplate>
Create a copy of DocumentTemplate with the given fields replaced by the non-null parameter values.
no setterinherited
created int?
no setterinherited
deletionDate int?
no setterinherited
descr String?
no setterinherited
disabled String?
no setterinherited
documentType DocumentType?
no setterinherited
endOfLife int?
no setterinherited
group DocumentGroup?
no setterinherited
guid String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
mainUti String?
no setterinherited
medicalLocationId String?
no setterinherited
modified int?
no setterinherited
name String?
no setterinherited
otherUtis Set<String>
no setterinherited
owner String?
no setterinherited
responsible String?
no setterinherited
rev String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
specialty CodeStub?
no setterinherited
tags Set<CodeStub>
no setterinherited
version ReportVersion?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

encode(DocumentTemplate value) Map<String, dynamic>
fromJSON(Map<String, dynamic> data) DocumentTemplate