listRoles static method
list current user's roles
Implementation
static Future<Result> listRoles([String? namespace]) async {
final Result result = await get('/api/v2/users/me/roles' +
(namespace == null ? "" : "?namespace=" + namespace));
return result;
}