ReceivedCreditsLinkedFlows.fromJson constructor

ReceivedCreditsLinkedFlows.fromJson(
  1. Object? json
)

Implementation

factory ReceivedCreditsLinkedFlows.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return ReceivedCreditsLinkedFlows(
      sourceFlowType:
          TreasuryReceivedCreditsResourceLinkedFlowsSourceFlowDetailsType
              .fromJson(map['source_flow_type']));
}