StarTransactionTypeFragmentWithdrawal.fromJson constructor

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

Parses a StarTransactionTypeFragmentWithdrawal from TDLib JSON.

Implementation

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