TerminalReaderReaderResourceTippingConfig.fromJson constructor
TerminalReaderReaderResourceTippingConfig.fromJson(
- Object? json
Implementation
factory TerminalReaderReaderResourceTippingConfig.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return TerminalReaderReaderResourceTippingConfig(
amountEligible: map['amount_eligible'] == null
? null
: (map['amount_eligible'] as num).toInt());
}