permissions method

List<String> permissions([
  1. String? tenant
])

Returns the list of permissions granted for the user. Pass null for the tenant parameter if the user isn't associated with any tenant.

Implementation

List<String> permissions([String? tenant]) => _sessionToken.getPermissions(tenant: tenant);