hasExpired property Null safety
Returns true
if the cookie has expired
Implementation
bool get hasExpired {
if (expires is DateTime) {
//TODO
return false;
}
if (maxAge is int) {
//TODO
return false;
}
return false;
}
Returns true
if the cookie has expired
bool get hasExpired {
if (expires is DateTime) {
//TODO
return false;
}
if (maxAge is int) {
//TODO
return false;
}
return false;
}