toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (captureTimeOverride != null)
        'captureTimeOverride': captureTimeOverride!,
      if (distanceMeters != null) 'distanceMeters': distanceMeters!,
      if (failureDetails != null) 'failureDetails': failureDetails!,
      if (failureReason != null) 'failureReason': failureReason!,
      if (filename != null) 'filename': filename!,
      if (gpsSource != null) 'gpsSource': gpsSource!,
      if (id != null) 'id': id!,
      if (imu != null) 'imu': imu!,
      if (photos != null) 'photos': photos!,
      if (processingState != null) 'processingState': processingState!,
      if (rawGpsTimeline != null) 'rawGpsTimeline': rawGpsTimeline!,
      if (sequenceBounds != null) 'sequenceBounds': sequenceBounds!,
      if (uploadReference != null) 'uploadReference': uploadReference!,
      if (uploadTime != null) 'uploadTime': uploadTime!,
      if (viewCount != null) 'viewCount': viewCount!,
    };