menu
omnyshell package
documentation
omnyshell.dart
Principal
hasRole method
hasRole method
dark_mode
light_mode
hasRole
method
bool
hasRole
(
String
role
)
Whether the principal holds
role
.
Implementation
bool hasRole(String role) => roles.contains(role);
omnyshell package
documentation
omnyshell
Principal
hasRole method
Principal class