toJson method Null safety

Map<String, dynamic> toJson()

Implementation

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