Signature class
Signature A signature along with supporting context. The signature may
- Annotations
-
- @freezed
Constructors
-
Signature({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, required List<Coding> type, FhirInstant? when, @JsonKey(name: '_when') Element? whenElement, required Reference who, Reference? onBehalfOf, FhirCode? targetFormat, @JsonKey(name: '_targetFormat') Element? targetFormatElement, FhirCode? sigFormat, @JsonKey(name: '_sigFormat') Element? sigFormatElement, FhirBase64Binary? data, @JsonKey(name: '_data') Element? dataElement}) -
Signature A signature along with supporting context. The signature may
be a digital signature that is cryptographic in nature, or some other
signature acceptable to the domain. This other signature may be as simple
as a graphical image representing a hand-written signature, or a signature
ceremony Different signature approaches have different utilities.
constfactory
-
Signature.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- Signature.fromJsonString(String source)
-
Acts like a constructor, returns a Signature, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- Signature.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
-
copyWith
→ $SignatureCopyWith<
Signature> -
no setterinherited
- data → FhirBase64Binary?
-
data The base64 encoding of the Signature content. When signature is
not recorded electronically this element would be empty.
no setterinherited
- dataElement → Element?
-
dataElement Extensions for data
no setterinherited
-
extension_
→ List<
FhirExtension> ? -
extension
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.no setterinherited - fhirId → String?
-
id Unique id for the element within a resource (for internal
references). This may be any string value that does not contain spaces.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- onBehalfOf → Reference?
-
onBehalfOf A reference to an application-usable description of the
identity that is represented by the signature.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sigFormat → FhirCode?
-
sigFormat A mime type that indicates the technical format of the
signature. Important mime types are application/signature+xml for X ML
DigSig, application/jose for JWS, and image/* for a graphical image of a
signature, etc.
no setterinherited
- sigFormatElement → Element?
-
sigFormatElement Extensions for sigFormat
no setterinherited
- targetFormat → FhirCode?
-
targetFormat A mime type that indicates the technical format of the
target resources signed by the signature.
no setterinherited
- targetFormatElement → Element?
-
targetFormatElement Extensions for targetFormat
no setterinherited
-
type
→ List<
Coding> -
type An indication of the reason that the entity signed this document.
This may be explicitly included as part of the signature information and
can be used when determining accountability for various actions concerning
the document.
no setterinherited
- when → FhirInstant?
-
when When the digital signature was signed.
no setterinherited
- whenElement → Element?
-
whenElement Extensions for when
no setterinherited
- who → Reference
-
who A reference to an application-usable description of the identity
that signed (e.g. the signature used their private key).
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String - Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String - Produces a Yaml formatted String version of the object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited