AppwinSupportPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- AppwinSupportPlatform
- Implementers
Constructors
- AppwinSupportPlatform()
- Constructs a AppwinSupportPlatform.
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
-
getPlatformVersion(
) → Future< String?> -
initialize(
) → Future< AppwinInitResult> -
Initialises the SDK.
baseUrlis optional, an API URL override useful in development to point at localhost. -
loginIdentifiedUser(
{required String externalId}) → Future< void> -
loginUnidentifiedUser(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
presentMessenger(
) → Future< void> - Presents the native Appwin messenger over the host app.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateUser(
{String? email, String? name, String? avatarUrl, String? language, String? timezone, String? location}) → Future< void> - Updates the current customer's attributes, Intercom style. Does not affect the identity (externalId), which keeps the one set at the last login. Every field is optional.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AppwinSupportPlatform
-
The default instance of AppwinSupportPlatform to use.
getter/setter pair