push method
override
Push the button.
await myButton.push();
For more information, see Button component.
Implementation
@override
Future<void> push({Map<String, dynamic>? extra}) async {
final request = PushRequest()
..name = name
..extra = extra?.toStruct() ?? Struct();
await client.push(request);
}