getControls method
override
Get the list of available controls on the input controller.
final controls = await myInputController.getControls();
For more information, see InputController component.
Implementation
@override
Future<List<String>> getControls({Map<String, dynamic>? extra}) async {
final request = GetControlsRequest()
..controller = name
..extra = extra?.toStruct() ?? Struct();
final response = await client.getControls(request, options: callOptions);
return response.controls;
}