menu
scobro_foundation_flutter package
documentation
authentication/user_model.dart
UserModel
hasAnyRole method
hasAnyRole method
dark_mode
light_mode
hasAnyRole
method
bool
hasAnyRole
(
List
<
String
>
roles
)
Implementation
bool hasAnyRole(List<String> roles) { return roles.any((role) => this.roles.contains(role)); }
scobro_foundation_flutter package
documentation
authentication/user_model
UserModel
hasAnyRole method
UserModel class