toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (driveFile != null) 'driveFile': driveFile!,
      if (driveFolder != null) 'driveFolder': driveFolder!,
      if (file != null) 'file': file!,
      if (folder != null) 'folder': folder!,
      if (mimeType != null) 'mimeType': mimeType!,
      if (name != null) 'name': name!,
      if (owner != null) 'owner': owner!,
      if (title != null) 'title': title!,
    };