scopesToString function

String scopesToString(
  1. Set<Scope> scopes
)

Converts a set of Scope to a string.

Implementation

String scopesToString(Set<Scope> scopes) {
  if (scopes == null) {
    return '';
  }
  return scopes.map((x) => scopeToString(x)).cast<String>().join(' ');
}