ReaderProcessConfig.fromJson constructor
ReaderProcessConfig.fromJson(
- Object? json
Implementation
factory ReaderProcessConfig.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ReaderProcessConfig(
enableCustomerCancellation: map['enable_customer_cancellation'] == null
? null
: (map['enable_customer_cancellation'] as bool),
skipTipping:
map['skip_tipping'] == null ? null : (map['skip_tipping'] as bool),
tipping: map['tipping'] == null
? null
: TerminalReaderReaderResourceTippingConfig.fromJson(map['tipping']),
);
}