fromWire static method
Implementation
static UpiServiceMode? fromWire(String? value) {
if (value == null) return null;
switch (value.toUpperCase()) {
case 'MANDATE':
return UpiServiceMode.MANDATE;
case 'REVERSE_PENNY_DROP':
return UpiServiceMode.REVERSE_PENNY_DROP;
}
return null;
}