setOnDecline method
Sets the callback function for a declined offer
he onDecline() event is triggered when the user declines the licensing offer. This happens on dismissal of the flow or when "Back Off" is selected.
Implementation
TikiSdk setOnDecline(Function(Offer) onDecline) {
_onDecline = onDecline;
return this;
}