TransactionPartnerFragment.fromJson constructor

TransactionPartnerFragment.fromJson(
  1. Map<String, dynamic> json
)

Creates a TransactionPartnerFragment object from JSON.

Implementation

factory TransactionPartnerFragment.fromJson(Map<String, dynamic> json) {
  return TransactionPartnerFragment(
    withdrawalState: json['withdrawal_state'] != null
        ? RevenueWithdrawalState.fromJson(json['withdrawal_state'])
        : null,
  );
}