AppwinCommunityPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • AppwinCommunityPlatform
Implementers

Constructors

AppwinCommunityPlatform()

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. baseUrl serves development, to point at a local API. locale ; en prod, laisser null.
login({required String externalId}) Future<void>
logout() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
presentCommunity() Future<void>
Presents the community full screen over the app.
setUser({String? nickname, String? avatarUrl, String? bio}) Future<AppwinCommunityUser?>
Pushes the identity the host app knows to the community profile.
toString() String
A string representation of this object.
inherited
unreadNotificationCount() Future<int>
Unread notifications, for a badge on the tab.

Operators

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

Static Properties

instance AppwinCommunityPlatform
Platform-specific implementations register their own instance here.
getter/setter pair