reboot method
Reboots the device.
rebootType is optional and can be used to specify the type of reboot.
Implementation
Future<void> reboot({RebootType? rebootType, bool debug = false}) async {
final args = ['reboot'];
if (rebootType != null) {
args.add(rebootType.value);
}
await _bridge.executor.execute([..._connection.arguments, ...args], debug: debug);
}