toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (customMetrics != null)
'customMetrics':
customMetrics!.map((value) => value.toJson()).toList(),
if (nextPageToken != null) 'nextPageToken': nextPageToken!,
};