TreasuryReceivedCreditsResourceLinkedFlows.fromJson constructor
TreasuryReceivedCreditsResourceLinkedFlows.fromJson(
- Object? json
Implementation
factory TreasuryReceivedCreditsResourceLinkedFlows.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return TreasuryReceivedCreditsResourceLinkedFlows(
creditReversal: map['credit_reversal'] == null
? null
: (map['credit_reversal'] as String),
issuingAuthorization: map['issuing_authorization'] == null
? null
: (map['issuing_authorization'] as String),
issuingTransaction: map['issuing_transaction'] == null
? null
: (map['issuing_transaction'] as String),
sourceFlow:
map['source_flow'] == null ? null : (map['source_flow'] as String),
sourceFlowDetails: map['source_flow_details'] == null
? null
: TreasuryReceivedCreditsResourceLinkedFlowsSourceFlowDetails
.fromJson(map['source_flow_details']),
sourceFlowType: map['source_flow_type'] == null
? null
: (map['source_flow_type'] as String),
);
}