hasAnyRole abstract method

Future<bool> hasAnyRole(
  1. String userId,
  2. List<String> roles, {
  3. String? resource,
  4. Map<String, dynamic>? context,
})

Check if user has any of the specified roles

Implementation

Future<bool> hasAnyRole(
  String userId,
  List<String> roles, {
  String? resource,
  Map<String, dynamic>? context,
});