DriveItem class

A Drive item, such as a file or folder.

Constructors

DriveItem({DriveFile? driveFile, DriveFolder? driveFolder, File? file, Folder? folder, String? mimeType, String? name, Owner? owner, String? title})
DriveItem.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
mimeType String?
The MIME type of the Drive item.
getter/setter pair
name String?
The target Drive item.
getter/setter pair
owner Owner?
Information about the owner of this 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