MenuButtonType enum

This object represents the Menu Button Type. Read about the Menu Button here.

Inheritance

Constructors

Constructs a new MenuButtonType.
const

Values

commands → const MenuButtonType

Menu Button shows a list of commands

const MenuButtonType("commands")
webApp → const MenuButtonType

Menu Button opens a web app

const MenuButtonType("web_app")
defaultButton → const MenuButtonType

The default button

const MenuButtonType("default")

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value of this enum.
final

Methods

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

Operators

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

Static Methods

fromJson(String value) MenuButtonType
Constructs a new MenuButtonType from a String.

Constants

values → const List<MenuButtonType>
A constant List of the values in this enum, in order of their declaration.