isExpired property

bool isExpired

Indicates that the current package has expired.

This property shows whether the given package was expired at the time it was loaded. Subsequent checks can be made by performing a comparison of the current time against Expiration.dateTime.

Implementation

bool get isExpired {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Expiration_getIsExpired(
      _handle,
      errorHandler,
    );
  });
}