AmityCommunityExtension extension

on

Properties

listen StreamController<AmityCommunity>
no setter

Methods

delete({bool hardDelete = false}) Future
Delete
getCurentUserRoles() Future<List<String>>
Get Current logged in User Roles for the Community
hasPermission(AmityPermission permission) bool
Check if the current user have the permisson for the community
subscription(AmityCommunityEvents events) AmityTopicSubscription
Subscribe to Community Events