BotButtonObject class

This class represents a Button object in the bot.

Inheritance

Constructors

BotButtonObject.new({required String data, required String label, required BotButtonType type})
BotButtonObject.fromJson(Map json)
create a new object from json representation.

Properties

data String
the data of this button.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String
the label of this button.
getter/setter pair
objectType BotObjectType
getter/setter pairoverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BotButtonType
the type of this button.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
convert this object to json representation.
override
toString() String
A string representation of this object.
inherited

Operators

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