roles method

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

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

Implementation

List<String> roles([String? tenant]) => _sessionToken.getRoles(tenant: tenant);