DriveItem class

A Drive item, such as a file or folder.

Constructors

DriveItem()
DriveItem.fromJson(Map _json)

Properties

driveFile DriveFile
The Drive item is a file.
read / write
driveFolder DriveFolder
The Drive item is a folder. Includes information about the type of folder.
read / write
file File
This field is deprecated; please use the driveFile field instead.
read / write
folder Folder
This field is deprecated; please use the driveFolder field instead.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
mimeType String
The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
read / write
name String
The target Drive item. The format is "items/ITEM_ID".
read / write
owner Owner
Information about the owner of this Drive item.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
The title of the Drive item.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited