GoogleAppsCardV1Icon class

An icon displayed in a widget on a card.

For an example in Google Chat apps, see Icon. Supports [built-in](https://developers.google.com/chat/format-messages#builtinicons) and custom icons. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):

Constructors

GoogleAppsCardV1Icon({String? altText, String? iconUrl, String? imageType, String? knownIcon})
GoogleAppsCardV1Icon.fromJson(Map json_)

Properties

altText String?
A description of the icon used for accessibility.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconUrl String?
Display a custom icon hosted at an HTTPS URL.
getter/setter pair
imageType String?
The crop style applied to the image.
getter/setter pair
knownIcon String?
Display one of the built-in icons provided by Google Workspace.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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