fromJson static method

TonTransactionTypeFragmentWithdrawal? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static TonTransactionTypeFragmentWithdrawal? fromJson(
  Map<String, dynamic>? json,
) {
  if (json == null) {
    return null;
  }

  return TonTransactionTypeFragmentWithdrawal(
    withdrawalState: RevenueWithdrawalState.fromJson(
      tdMapFromJson(json['withdrawal_state']),
    ),
  );
}