AppCenter class
Static class that provides AppCenter APIs
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
configureAnalyticsAsync(
{required dynamic enabled}) → Future - Enable or disable analytics
-
configureCrashesAsync(
{required dynamic enabled}) → Future - Enable or disable appcenter crash reports
-
getInstallIdAsync(
) → Future< String> - Get appcenter installation id
-
isAnalyticsEnabledAsync(
) → Future< bool?> - Check whether analytics is enalbed
-
isCrashesEnabledAsync(
) → Future< bool?> - Check whether crashes is enabled
-
startAsync(
{required String appSecretAndroid, required String appSecretIOS, dynamic enableAnalytics = true, dynamic enableCrashes = true, dynamic disableAutomaticCheckForUpdate = false}) → Future - Start appcenter functionalities
-
trackEventAsync(
String name, [Map< String, String> ? properties]) → Future - Track events