doCommand method
override
    Send/Receive arbitrary commands to the Resource
// Example using doCommand with an arm component
const command = {'cmd': 'test', 'data1': 500};
var result = myArm.doCommand(command);
Implementation
@override
Future<Map<String, dynamic>> doCommand(Map<String, dynamic> command) async {
  final request = DoCommandRequest()
    ..name = name
    ..command = command.toStruct();
  final response = await client.doCommand(request, options: callOptions);
  return response.result.toMap();
}