Card class

The card response message.

Inheritance

Constructors

Card({String platform, String title, String subtitle, String imageUri, List<CardButton> buttons})

Properties

buttons List<CardButton>
The collection of card buttons.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
imageUri String
The public URI to an image file for the card.
final
platform String
The platform that this message is intended for. See Platform.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subtitle String
The subtitle of the card.
final
title String
The title of the card.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

fromJson(Map<String, dynamic> json) Card
override