type property

ExpirationType type

The type of expiration for the given package.

This property indicates what expiration entails for a given package. That is, when the package expires:

Implementation

ExpirationType get type {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Expiration_getType(
      _handle,
      errorHandler,
    );
  });
  return ExpirationType._fromCoreValue(
    coreValue,
  );
}