hasScope method

bool hasScope(
  1. String scope
)

Implementation

bool hasScope(String scope) {
  return currentToken?.scopes?.contains(scope) ?? false;
}