fromString static method
- String? value
Get the PaymentLogStatus from a String.
Implementation
static PaymentLogStatus? fromString(String? value) {
switch (value) {
case 'pending':
return pending;
case 'complete':
return complete;
case 'failed':
return failed;
case 'creditable':
return creditable;
default:
return null;
}
}