GoogleAppsCardV1Image class
An image that is specified by a URL and can have an onClick
action.
For an example, see Add an image. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
Constructors
- GoogleAppsCardV1Image({String? altText, String? imageUrl, GoogleAppsCardV1OnClick? onClick})
- GoogleAppsCardV1Image.fromJson(Map json_)
Properties
- altText ↔ String?
-
The alternative text of this image that's used for accessibility.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUrl ↔ String?
-
The HTTPS URL that hosts the image.
getter/setter pair
- onClick ↔ GoogleAppsCardV1OnClick?
-
When a user clicks the image, the click triggers this action.
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