TreasuryInboundTransferFailOptions.fromJson constructor
TreasuryInboundTransferFailOptions.fromJson(
- Object? json
Implementation
factory TreasuryInboundTransferFailOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return TreasuryInboundTransferFailOptions(
expand: map['expand'] == null
? null
: (map['expand'] as List<Object?>)
.map((el) => (el as String))
.toList(),
failureDetails: map['failure_details'] == null
? null
: InboundTransferFailureDetails.fromJson(map['failure_details']),
);
}