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