Fingerly class
A configured client.
Properties
- consent → ConsentState
-
The consent last given to the native SDK, by load or setConsent.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collect(
) → Future< SignalReport> - Run the sources and assemble the report, without submitting.
-
identify(
{String? tag, bool submit = true, bool automatic = false}) → Future< IdentifyResult> - Collect and submit.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConsent(
ConsentState state) → Future< void> - Record the user's answer, as the consent tool reports it.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
deleteStoredIdentity(
) → Future< void> - Delete the install record the native SDK keeps on the device.
-
load(
{required String apiKey, String endpoint = '', ConsentState consent = ConsentState.pending}) → Future< Fingerly> - Configure the SDK and return a client.
-
nativeVersion(
) → Future< String> - The native SDK's version, which is the one that did the collecting.