TonTransactionTypeFragmentWithdrawal.fromJson constructor

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

Parses a TonTransactionTypeFragmentWithdrawal from TDLib JSON.

Implementation

factory TonTransactionTypeFragmentWithdrawal.fromJson(
  Map<String, dynamic> json,
) => TonTransactionTypeFragmentWithdrawal(
  withdrawalState: _readOptional(
    json['withdrawal_state'],
    RevenueWithdrawalState.fromJson,
  ),
);