fromJson static method
Inherited by: TonTransactionTypeFragmentDeposit TonTransactionTypeFragmentWithdrawal TonTransactionTypeGiftPurchaseOffer TonTransactionTypeStakeDicePayout TonTransactionTypeStakeDiceStake TonTransactionTypeSuggestedPostPayment TonTransactionTypeUnsupported TonTransactionTypeUpgradedGiftPurchase TonTransactionTypeUpgradedGiftSale
Implementation
static TonTransactionTypeFragmentWithdrawal? fromJson(
Map<String, dynamic>? json,
) {
if (json == null) {
return null;
}
return TonTransactionTypeFragmentWithdrawal(
withdrawalState: RevenueWithdrawalState.fromJson(
tdMapFromJson(json['withdrawal_state']),
),
);
}