toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (coverImage != null) 'coverImage': coverImage!,
      if (description != null) 'description': description!,
      if (driveId != null) 'driveId': driveId!,
      if (durationMillis != null) 'durationMillis': durationMillis!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (lastModifiedMillis != null)
        'lastModifiedMillis': lastModifiedMillis!,
      if (progressValue != null) 'progressValue': progressValue!,
      if (title != null) 'title': title!,
      if (type != null) 'type': type!,
      if (uniqueName != null) 'uniqueName': uniqueName!,
    };