isExpired property
bool
get
isExpired
Check if the subscription has exceeded its defined timeout.
Implementation
bool get isExpired {
if (timeout == null) return false;
return DateTime.now().difference(createdAt) > timeout!;
}