RichLinkProperties class

Properties of a link to a Google resource (such as a file in Drive, a YouTube video, a Maps address, or a Calendar event).

Only Drive files can be written as chips. All other rich link types are read only. URIs cannot exceed 2000 bytes when writing. NOTE: Writing Drive file chips requires at least one of the drive.file, drive.readonly, or drive OAuth scopes.

Constructors

RichLinkProperties.new({String? mimeType, String? uri})
RichLinkProperties.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
mimeType String?
The MIME type of the link, if there's one (for example, when it's a file in Drive).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
The URI to the link.
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