Snapshot class abstract

A versioned snapshot of a CARP Core domain object.

Gives an object a unique id, a createdOn timestamp and a version number. StudyProtocol extends it.

Implementers

Constructors

Snapshot([String? id])

Properties

createdOn ↔ DateTime
When the object represented by this snapshot was created, in UTC.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
Unique id for this object. A random UUID (v4) if not specified.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version ↔ int
The number of edits made to the object represented by this snapshot, indicating its version number. Starts at 0.
getter/setter pair

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