toJson method

Map<String, dynamic> toJson()

Implementation

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