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