clearScopes method

List<String> clearScopes(
  1. List<String> scopes
)

Implementation

List<String> clearScopes(List<String> scopes) {
  // return scopes?.where((element) => element.trim().isNotEmpty)?.toList();
  return scopes.where((element) => element.trim().isNotEmpty).toList();
}