CardAction class

A card action is the action associated with the card.

For an invoice card, a typical action would be: delete invoice, email invoice or open the invoice in browser. Not supported by Google Chat apps.

Constructors

CardAction({String? actionLabel, OnClick? onClick})
CardAction.fromJson(Map json_)

Properties

actionLabel String?
The label used to be displayed in the action menu item.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onClick OnClick?
The onclick action for this action item.
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