toJson method
Implementation
Map<String, dynamic> toJson() => {
'geltungsbereich': validityAreaDescription,
'letzterGeltungstag': expiryDate,
'additionalElements': additionalElements.toJson(),
'verbundInfo': trafficAssociation.toJson(),
'aboBestehtSeit': subscribedSince,
'id': id,
'barcode': barcode,
'kunde': customer.toJson(),
'ersterGeltungstag': firstDayOfValidity,
'token': token,
'layout': layout.toJson(),
'ticketColor': ticketColor,
'header': header.toJson(),
};