ParentReference class

A reference to a file's parent.

Some resource methods (such as parents.get) require a parentId. Use the parents.list method to retrieve the ID for a parent.

Constructors

ParentReference({String? id, bool? isRoot, String? kind, String? parentLink, String? selfLink})
ParentReference.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the parent.
getter/setter pair
isRoot bool?
Whether or not the parent is the root folder.
getter/setter pair
kind String?
This is always drive#parentReference.
getter/setter pair
A link to the parent.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
A link back to this reference.
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