AppwinSupportPlatform class abstract
Contract each platform implements.
Host apps go through AppwinSupport.instance instead. It is public so a
platform package, or a test, can provide its own instance.
- 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?> -
Host OS and version, for checking the bridge is alive. See
AppwinSupport.getPlatformVersion. -
initialize(
) → Future< AppwinInitResult> -
Initialises the SDK.
baseUrlis optional, an API URL override useful in development to point at localhost. Whether this app may use Support. SeeAppwinSupport.initialize. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
presentConversation(
String conversationId) → Future< void> -
Presents the messenger on one conversation. See
AppwinSupport.presentConversation. -
presentMessenger(
) → Future< void> -
Presents the native Appwin messenger over the host app.
Presents the messenger. See
AppwinSupport.presentMessenger. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AppwinSupportPlatform
-
The default instance of AppwinSupportPlatform to use.
getter/setter pair