transactionIdFor property
String?
get
transactionIdFor
Implementation
String? get transactionIdFor {
if (this is PurchaseIOS) {
final value = (this as PurchaseIOS).transactionId;
if (value.isNotEmpty) {
return value;
}
} else if (this is PurchaseAndroid) {
final value = (this as PurchaseAndroid).transactionId;
if (value != null && value.isNotEmpty) {
return value;
}
}
return id.isEmpty ? null : id;
}