DVCrashIdentity class final
A user id for crash reports, bound to a consent category.
A report is sent without an analytics grant, because the application cannot be fixed otherwise, and that is why the identity on it is bound: the report leaves the device before anybody has been asked. The id is on a report only while category is granted, read at the moment the report is written, so a withdrawal takes effect on the next crash.
Constructors
- DVCrashIdentity({required DVConsentCategory category})
Properties
- category → DVConsentCategory
-
The consent category the application declared its crash identity under.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String?
-
The user id a report may carry now, or null.
no setter
Methods
-
identify(
String? userId, {required DVConsent consent}) → void - The account this install is signed in as, and the consent it answers to. Null signs out.
-
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