ConsentDocument class

A ConsentDocument contains data read from a consent document in the CARP web service

The document can be extracted with the document property or by using subscript syntax to access a specific field.

Properties

createdAt DateTime
The timestamp of creation of this document
no setter
createdBy String?
The id of the user who created this document
no setter
deploymentId String?
The id of the study of this document
no setter
document Map<String, dynamic>
The actual consent document
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
The ID of the snapshot's document
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot Map<String, dynamic>
The full data snapshot
no setter
updatedAt DateTime
The timestamp of latest update of this document
no setter

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic
Reads individual data values from the snapshot