expiredTokens method

List<APIToken> expiredTokens({
  1. DateTime? now,
})

Implementation

List<APIToken> expiredTokens({DateTime? now}) {
  now ??= DateTime.now();
  return where((t) => t.isExpired(now: now)).toList();
}