discriminatorValue property
String?
get
discriminatorValue
Implementation
String? get discriminatorValue {
if (this is ApplePayDonations) {
return r'applepay';
}
if (this is CardDonations) {
return r'card';
}
if (this is GooglePayDonations) {
return r'googlepay';
}
if (this is IdealDonations) {
return r'ideal';
}
if (this is CardDonations) {
return r'networkToken';
}
if (this is PayWithGoogleDonations) {
return r'paywithgoogle';
}
if (this is CardDonations) {
return r'scheme';
}
if (this is SepaDirectDebitDonations) {
return r'sepadirectdebit';
}
return null;
}