TreasuryReceivedCreditsResourceSourceFlowsDetails.fromJson constructor
TreasuryReceivedCreditsResourceSourceFlowsDetails.fromJson(
- Object? json
Implementation
factory TreasuryReceivedCreditsResourceSourceFlowsDetails.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return TreasuryReceivedCreditsResourceSourceFlowsDetails(
creditReversal: map['credit_reversal'] == null
? null
: TreasuryCreditReversal.fromJson(map['credit_reversal']),
outboundPayment: map['outbound_payment'] == null
? null
: TreasuryOutboundPayment.fromJson(map['outbound_payment']),
payout: map['payout'] == null ? null : Payout.fromJson(map['payout']),
type: TreasuryReceivedCreditsResourceLinkedFlowsSourceFlowDetailsType
.fromJson(map['type']),
);
}