The base interface for an Analytics Provider. The provider is responsible for reporting analytics events, errors, and messages.
- Implementers
Properties
- description → String
-
The description of the provider.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the provider.
no setter
-
observers
→ List<
NavigatorObserver> -
The list of observers for the provider.
These are added to the navigator, as part of the router setup.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
The title of the provider.
no setter
Methods
-
dispose(
) → Future< void> - Disposes the provider.
-
init(
) → Future< void> - Initializes the provider.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportError(
dynamic exception, {StackTrace? stackTrace, Map< String, dynamic> ? params, bool fatal = false}) → Future<void> - Reports an error with an optional stack trace and parameters.
-
reportEvent(
String name, {Map< String, dynamic> ? params}) → Future<void> - Reports an event with a specific name and optional parameters.
-
reportFlutterError(
FlutterErrorDetails details, {bool fatal = false}) → Future< void> - Reports a Flutter error with optional parameters.
-
reportMessage(
String message, {Map< String, dynamic> ? params}) → Future<void> - Reports a message with optional parameters.
-
startTrace(
String name, String operation) → Future< AnalyticsTrace> - Starts a trace with a specific name and operation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited