getExpiry property
DateTime?
get
getExpiry
The expiration date of the LicenseRecord applied to this Offer.
If this property is set, the LicenseRecord associated with this Offer will expire on the specified date.
Use the public method duration to set the expiry date based on the duration of the license, rather than setting it manually. This method calculates the expiry date by adding the specified time interval to the current date, and returns the Offer object to enable convenient chaining of method calls during offer initialization.
If the expiry date is not set, the LicenseRecord associated with this Offer will never expire.
Implementation
DateTime? get getExpiry => _expiry;