isExpired property

bool get isExpired

Returns true if this token is expired, otherwise false.

Implementation

bool get isExpired => DateTime.now().toUtc().isAfter(exp);