Set<APIToken> validateTokens() { var tokens = this.tokens; if (tokens.isEmpty) return tokens; var now = DateTime.now(); tokens.removeWhere((t) => t.isExpired(now: now)); return tokens; }