isUser property
bool
get
isUser
Implementation
bool get isUser {
for (final g in grants) {
if (g.name == 'role' && g.scope is String && g.scope != 'user') {
return false;
}
}
return true;
}