scopes property

List<String> get scopes

Parsed scope list (empty when scope is absent).

Implementation

List<String> get scopes {
  final s = scope;
  if (s == null || s.trim().isEmpty) return const [];
  return s.trim().split(RegExp(r'\s+'));
}