fromString static method
Implementation
static PayProvider? fromString(String providerString) => {
'apple_pay': PayProvider.apple_pay,
'google_pay': PayProvider.google_pay,
}[providerString];
static PayProvider? fromString(String providerString) => {
'apple_pay': PayProvider.apple_pay,
'google_pay': PayProvider.google_pay,
}[providerString];