DriveItemReference class

A lightweight reference to a Drive item, such as a file or folder.

Constructors

DriveItemReference()
DriveItemReference.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
name String
The target Drive item. The format is "items/ITEM_ID".
read / write
title String
The title of the Drive item.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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