value property
String
get
value
Implementation
String get value {
switch (this) {
case PaymentMode.sandbox:
return 'SANDBOX';
case PaymentMode.live:
return 'LIVE';
}
}
String get value {
switch (this) {
case PaymentMode.sandbox:
return 'SANDBOX';
case PaymentMode.live:
return 'LIVE';
}
}