core.Map<core.String, core.dynamic> toJson() => { if (lineItems != null) 'lineItems': lineItems!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, };