TerminalReaderReaderResourceProcessSetupIntentAction.fromJson constructor
TerminalReaderReaderResourceProcessSetupIntentAction.fromJson(
- Object? json
Implementation
factory TerminalReaderReaderResourceProcessSetupIntentAction.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return TerminalReaderReaderResourceProcessSetupIntentAction(
generatedCard: map['generated_card'] == null
? null
: (map['generated_card'] as String),
processConfig: map['process_config'] == null
? null
: TerminalReaderReaderResourceProcessSetupConfig.fromJson(
map['process_config']),
setupIntent: SetupIntentOrId.fromJson(map['setup_intent']),
);
}