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
read-only
createdByUserId int
The id of the user who created this document
read-only
document Map<String, dynamic>
The actual consent document
read-only
exists bool
Returns true if the document exists.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
The ID of the snapshot's document
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
snapshot Map<String, dynamic>
The full data snapshot
read-only
studyId String
The id of the study of this document
read-only
updatedAt DateTime
The timestamp of latest update of this document
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns 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