TerminalReaderReaderResourceProcessSetupConfig.fromJson constructor

TerminalReaderReaderResourceProcessSetupConfig.fromJson(
  1. Object? json
)

Implementation

factory TerminalReaderReaderResourceProcessSetupConfig.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TerminalReaderReaderResourceProcessSetupConfig(
      enableCustomerCancellation: map['enable_customer_cancellation'] == null
          ? null
          : (map['enable_customer_cancellation'] as bool));
}