toMap method
Implementation
Map<String, dynamic> toMap() => {
"id": id,
"ticket_id": ticketId,
"ticket_code": ticketCode,
"qr_code": qrCode,
"is_transfer": isTransfer,
"can_transfer": canTransfer,
"ref_id": refId,
"price": price,
"transfer_to": transferTo?.toMap(),
"transfer_by": transferBy?.toMap(),
};