Scope constructor Null safety

const Scope(
  1. List<String> scopes
)

Add to ResourceController operation method to require authorization scope.

An incoming Request.authorization must have sufficient scope for all scopes.

Implementation

const Scope(this.scopes);