toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (audioTrackType != null) 'audioTrackType': audioTrackType!,
      if (failureReason != null) 'failureReason': failureReason!,
      if (isAutoSynced != null) 'isAutoSynced': isAutoSynced!,
      if (isCC != null) 'isCC': isCC!,
      if (isDraft != null) 'isDraft': isDraft!,
      if (isEasyReader != null) 'isEasyReader': isEasyReader!,
      if (isLarge != null) 'isLarge': isLarge!,
      if (language != null) 'language': language!,
      if (lastUpdated != null)
        'lastUpdated': lastUpdated!.toUtc().toIso8601String(),
      if (name != null) 'name': name!,
      if (status != null) 'status': status!,
      if (trackKind != null) 'trackKind': trackKind!,
      if (videoId != null) 'videoId': videoId!,
    };