Button class abstract Components

Button represents a button component.

For more information, see Button component.

Inheritance
Implementers

Constructors

Button()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

doCommand(Map<String, dynamic> command) → Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
inherited
getStatus() → Future<Map<String, dynamic>>
Get the status of the Resource
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
push({Map<String, dynamic>? extra}) → Future<void>
Push the button.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromRobot(RobotClient robot, String name) → Button
Get the Button named name from the provided robot.
getResourceName(String name) → ResourceName
Get the ResourceName for this Button with the given name.

Constants

subtype → const Subtype