RichLinkMetadata class

A rich link to a resource.

Rich links can be associated with the plain-text body of the message or represent chips that link to Google Workspace resources like Google Docs or Sheets with start_index and length of 0.

Constructors

RichLinkMetadata.new({CalendarEventLinkData? calendarEventLinkData, ChatSpaceLinkData? chatSpaceLinkData, DriveLinkData? driveLinkData, MeetSpaceLinkData? meetSpaceLinkData, String? richLinkType, String? uri})
RichLinkMetadata.fromJson(Map json_)

Properties

calendarEventLinkData CalendarEventLinkData?
Data for a Calendar event link.
getter/setter pair
chatSpaceLinkData ChatSpaceLinkData?
Data for a chat space link.
getter/setter pair
driveLinkData DriveLinkData?
Data for a drive link.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
meetSpaceLinkData MeetSpaceLinkData?
Data for a Meet space link.
getter/setter pair
richLinkType String?
The rich link type. Possible string values are:
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
The URI of this 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