toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON() => {
      'id': id,
      'eventId': eventId,
      'eventName': eventName,
      'buyerProfileId': buyerProfileId,
      'buyerName': buyerName,
      'purchaseDate': purchaseDate,
      'paymentTransactionId': paymentTransactionId,
      'pricePaid': pricePaid?.toJSON(),
      'checkedIn': checkedIn,
      'checkInDate': checkInDate,
    };