TreasuryOutboundPaymentReturnedDetails.fromJson constructor

TreasuryOutboundPaymentReturnedDetails.fromJson(
  1. Object? json
)

Implementation

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