IssuingTransactionRefundOptions.fromJson constructor
IssuingTransactionRefundOptions.fromJson(
- Object? json
Implementation
factory IssuingTransactionRefundOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return IssuingTransactionRefundOptions(
expand: map['expand'] == null
? null
: (map['expand'] as List<Object?>)
.map((el) => (el as String))
.toList(),
refundAmount: map['refund_amount'] == null
? null
: (map['refund_amount'] as num).toInt(),
);
}