DefaultOptions class
A default implementation of the Options interface.
- Implemented types
Constructors
- DefaultOptions({required String apiKey, String baseUrl = 'https://api.fingerprintjs.com', Duration timeout = const Duration(seconds: 10), bool debug = false})
- Constructor with default values for optional parameters.
Properties
- apiKey → String
-
The API key used for authentication with the FingerprintJS Pro API.
final
- baseUrl → String
-
The base URL for API requests. Defaults to 'https://api.fingerprintjs.com'.
final
- debug → bool
-
A flag indicating whether debug logging is enabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
The timeout duration for HTTP requests.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the object into a JSON representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited