getScopeKey method

String getScopeKey(
  1. List<String> scope
)

Implementation

String getScopeKey(List<String> scope) {
  var key = '_default_';

  var sortedScopes = getSortedScopes(scope);
  if (sortedScopes.isNotEmpty) {
    key = sortedScopes.join('__');
  }

  return key;
}