BasicCard class

The basic card message. Useful for displaying information.

Annotations
  • @JsonSerializable()

Constructors

BasicCard({String? title, String? subtitle, String? formattedText, DialogImage? image, List<BasicCardButton>? buttons})
The basic card message. Useful for displaying information.
BasicCard.fromJson(Map<String, dynamic> json)
factory

Properties

buttons List<BasicCardButton>?
The collection of card buttons.
final
formattedText String?
The body text of the card.
final
hashCode int
The hash code for this object.
no setterinherited
image DialogImage?
The image for the card.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
subtitle String?
The subtitle of the card.
final
title String?
The title of the card.
final

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