toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (captureTime != null) 'captureTime': captureTime!,
      if (connections != null) 'connections': connections!,
      if (downloadUrl != null) 'downloadUrl': downloadUrl!,
      if (mapsPublishStatus != null) 'mapsPublishStatus': mapsPublishStatus!,
      if (photoId != null) 'photoId': photoId!,
      if (places != null) 'places': places!,
      if (pose != null) 'pose': pose!,
      if (shareLink != null) 'shareLink': shareLink!,
      if (thumbnailUrl != null) 'thumbnailUrl': thumbnailUrl!,
      if (transferStatus != null) 'transferStatus': transferStatus!,
      if (uploadReference != null) 'uploadReference': uploadReference!,
      if (uploadTime != null) 'uploadTime': uploadTime!,
      if (viewCount != null) 'viewCount': viewCount!,
    };