allows method

bool allows(
  1. String scopeString
)

String variant of isSubsetOrEqualTo.

Parses an instance of this type from scopeString and invokes isSubsetOrEqualTo.

Implementation

bool allows(String scopeString) => isSubsetOrEqualTo(AuthScope(scopeString));