toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attachmentDataRef != null) 'attachmentDataRef': attachmentDataRef!,
      if (contentName != null) 'contentName': contentName!,
      if (contentType != null) 'contentType': contentType!,
      if (downloadUri != null) 'downloadUri': downloadUri!,
      if (driveDataRef != null) 'driveDataRef': driveDataRef!,
      if (name != null) 'name': name!,
      if (source != null) 'source': source!,
      if (thumbnailUri != null) 'thumbnailUri': thumbnailUri!,
    };