EncryptedArticle class abstract

Implemented types
Annotations
  • @freezed

Constructors

EncryptedArticle.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) String? name, @Default(null) String? classification, @Default({}) Set<String> secretForeignKeys, @Default({}) Map<String, Set<Delegation>> cryptedForeignKeys, @Default({}) Map<String, Set<Delegation>> delegations, @Default({}) Map<String, Set<Delegation>> encryptionKeys, @Default(null) Base64String? encryptedSelf, @Default(null) SecurityMetadata? securityMetadata})
const
factory

Properties

author String?
no setterinherited
classification String?
no setterinherited
codes Set<CodeStub>
no setterinherited
copyWith → $EncryptedArticleCopyWith<EncryptedArticle>
Create a copy of EncryptedArticle with the given fields replaced by the non-null parameter values.
no setterinherited
created int?
no setterinherited
cryptedForeignKeys Map<String, Set<Delegation>>
no setterinherited
delegations Map<String, Set<Delegation>>
no setterinherited
deletionDate int?
no setterinherited
encryptedSelf Base64String?
no setterinherited
encryptionKeys Map<String, Set<Delegation>>
no setterinherited
endOfLife int?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
medicalLocationId String?
no setterinherited
modified int?
no setterinherited
name String?
no setterinherited
responsible String?
no setterinherited
rev String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretForeignKeys Set<String>
no setterinherited
securityMetadata SecurityMetadata?
no setterinherited
tags Set<CodeStub>
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(EncryptedArticle value) Map<String, dynamic>
override
fromJSON(Map<String, dynamic> data) EncryptedArticle
override