toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (embeddable != null) 'embeddable': embeddable!,
      if (failureReason != null) 'failureReason': failureReason!,
      if (license != null) 'license': license!,
      if (madeForKids != null) 'madeForKids': madeForKids!,
      if (privacyStatus != null) 'privacyStatus': privacyStatus!,
      if (publicStatsViewable != null)
        'publicStatsViewable': publicStatsViewable!,
      if (publishAt != null)
        'publishAt': publishAt!.toUtc().toIso8601String(),
      if (rejectionReason != null) 'rejectionReason': rejectionReason!,
      if (selfDeclaredMadeForKids != null)
        'selfDeclaredMadeForKids': selfDeclaredMadeForKids!,
      if (uploadStatus != null) 'uploadStatus': uploadStatus!,
    };