DriveItemReference class

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

Constructors

DriveItemReference({DriveFile? driveFile, DriveFolder? driveFolder, File? file, Folder? folder, String? name, String? title})
DriveItemReference.fromJson(Map json_)

Properties

driveFile DriveFile?
The Drive item is a file.
getter/setter pair
driveFolder DriveFolder?
The Drive item is a folder.
getter/setter pair
file File?
This field is deprecated; please use the driveFile field instead.
getter/setter pair
folder Folder?
This field is deprecated; please use the driveFolder field instead.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The target Drive item.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The title of the Drive item.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited