toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts this object to TDLib JSON.

Implementation

@override
Map<String, dynamic> toJson() => {
  '@type': CONSTRUCTOR,
  'creation_date': creationDate,
  'actual_winners_selection_date': actualWinnersSelectionDate,
  'was_refunded': wasRefunded,
  'is_winner': isWinner,
  'winner_count': winnerCount,
  'activation_count': activationCount,
  'gift_code': giftCode,
  'won_star_count': wonStarCount,
};