Expiration class final
Expiration details, that indicate whether a given package is out of date.
Expiration details can indicate that the package in question:
- Is still valid
- Has expired and should be used with caution (see ExpirationType.allowExpiredAccess)
- Has expired and can no longer be used (see ExpirationType.preventExpiredAccess)
- Implemented types
Properties
- dateTime → DateTime?
-
The date and time when the package will expire.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExpired → bool
-
Indicates that the current package has expired.
no setter
- message → String
-
An accompanying message which provides contextual information when the
package has expired.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ExpirationType
-
The type of expiration for the given package.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited