TreasuryOutboundTransfersResourceReturnedDetails.fromJson constructor

TreasuryOutboundTransfersResourceReturnedDetails.fromJson(
  1. Object? json
)

Implementation

factory TreasuryOutboundTransfersResourceReturnedDetails.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TreasuryOutboundTransfersResourceReturnedDetails(
    code: TreasuryOutboundPaymentReturnedDetailsCode.fromJson(map['code']),
    transaction: TreasuryTransactionOrId.fromJson(map['transaction']),
  );
}