Converts this object to a JSON map.
Map<String, dynamic> toJson() { return { 'id': id, 'expiration_date': expirationDate, }; }