Amplitude class

Annotations
  • @JS('amplitude')

Constructors

Amplitude(String instanceName)

Properties

hashCode int
The hash code for this object.
no setterinherited
options Options
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearUserProperties() → void
getDeviceId() String
getSessionId() → void
getUserId() String
groupIdentify(String groupType, String groupName, Identify groupIdentify, Function? opt_callback, Function? opt_error_callback, bool? outOfSession) → void
identify(Identify identify) → void
init(String api, String? userId) → void
logEvent(String eventType, Object? eventProperties, Function? optCallback, Function? optErrorCallback, bool? outOfSession) → void
logRevenue(double price, int quantity, String? productIdentifier) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
regenerateDeviceId() → void
sendEvents() → void
setDeviceId(String deviceId) → void
setEventUploadThreshold(dynamic int) → void
setGroup(String groupType, dynamic groupName) → void
setLibrary(String? libraryName, String? libraryVersion) → void
setMinTimeBetweenSessionsMillis(int timeInMillis) → void
setOffline(bool enabled) bool
setOptOut(bool optOut) → void
setServerUrl(String serverUrl) → void
setServerZone(String serverZone, bool updateServerUrl) → void
setUseDynamicConfig(bool useDynamicConfig) → void
setUserId(String? userId, bool startNewSession) → void
setUserProperties(Object userProperties) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getInstance(String instanceName) Amplitude