DVPrivacyModel class

One model as the privacy walk sees it.

Constructors

DVPrivacyModel({required String name, required DVRecordTable table, DVSubject? subject, Set<String> personal = const <String>{}, Set<String> anonymizeOnErase = const <String>{}, Set<String> otherSubjects = const <String>{}, DVRetain? retain, DVRetention? retention})

Properties

anonymizeOnErase → Set<String>
Fields replaced with DVPrivacy.tombstone on erasure rather than the row being deleted.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
otherSubjects → Set<String>
Columns naming a different subject. An export carries the requesting subject's contribution only, so these are cleared in it.
final
personal → Set<String>
Personal fields beyond the table's sensitive ones.
final
personalFields → Set<String>
Every field that is personal data: the declared ones and the sensitive ones.
no setter
retain → DVRetain?
final
retention → DVRetention?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subject → DVSubject?
Null for a model that holds nobody's data, such as a currency table.
final
table → DVRecordTable
final

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