DriveItem class

A Drive item, such as a file or folder.


DriveItem.fromJson(Map _json)


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
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


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


operator ==(Object other) bool
The equality operator. [...]