PaymentOptions.fromJson constructor
PaymentOptions.fromJson(
- Map json_
Implementation
PaymentOptions.fromJson(core.Map json_)
: this(
cash: json_.containsKey('cash') ? json_['cash'] as core.bool : null,
cashException: json_.containsKey('cashException')
? json_['cashException'] as core.String
: null,
cheque:
json_.containsKey('cheque') ? json_['cheque'] as core.bool : null,
chequeException: json_.containsKey('chequeException')
? json_['chequeException'] as core.String
: null,
creditCard: json_.containsKey('creditCard')
? json_['creditCard'] as core.bool
: null,
creditCardException: json_.containsKey('creditCardException')
? json_['creditCardException'] as core.String
: null,
debitCard: json_.containsKey('debitCard')
? json_['debitCard'] as core.bool
: null,
debitCardException: json_.containsKey('debitCardException')
? json_['debitCardException'] as core.String
: null,
mobileNfc: json_.containsKey('mobileNfc')
? json_['mobileNfc'] as core.bool
: null,
mobileNfcException: json_.containsKey('mobileNfcException')
? json_['mobileNfcException'] as core.String
: null,
);