AppwinCommunityMethodChannel class
Method-channel implementation of AppwinCommunityPlatform.
- Inheritance
-
- Object
- PlatformInterface
- AppwinCommunityPlatform
- AppwinCommunityMethodChannel
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPlatformVersion(
) → Future< String?> -
override
-
initialize(
) → Future< AppwinInitResult> -
Initialises the SDK.
baseUrlserves development, to point at a local API. locale ; en prod, laissernull.override -
login(
{required String externalId}) → Future< void> -
override
-
logout(
) → Future< void> -
override
-
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.
override
-
setUser(
{String? nickname, String? avatarUrl, String? bio}) → Future< AppwinCommunityUser?> -
Pushes the identity the host app knows to the community profile.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unreadNotificationCount(
) → Future< int> -
Unread notifications, for a badge on the tab.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited