DVConsentCategory class final

A purpose somebody can consent to, by name.

A constant rather than a string at each call, so a misspelt category is a compile error instead of a second category that is denied for ever.

Constructors

DVConsentCategory(String name)
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.
override

Constants

essential → const DVConsentCategory
What the application needs to function. Declared required, never asked, always granted.