TextTemplate class

Default template for text type.

Inheritance
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true, includeIfNull: false)

Constructors

TextTemplate(String text, Link link, {List<Button>? buttons, String? buttonTitle, String objectType = "text"})
TextTemplate.fromJson(Map<String, dynamic> json)
factory

Properties

buttons List<Button>?
final
buttonTitle String?
final
hashCode int
The hash code for this object.
no setterinherited
final
objectType String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
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