DVContentApproval class

Which version was approved, by whom and when. Travels with a bundle, so a rollback restores the fact that the restored version was the reviewed one.

Constructors

DVContentApproval({required String approvedBy, required DateTime approvedAt, required int revision, required String digest})
const
DVContentApproval.fromJson(Map<String, Object?> json)
factory

Properties

approvedAt → DateTime
final
approvedBy → String
final
digest → String
The SHA-256 of that content, canonically encoded.
final
hashCode → int
The hash code for this object.
no setterinherited
revision → int
The revision of the version's content the approval was given on.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(DVContentVersion<Object?> version) → bool
Whether this approval covers version as it stands.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited