initDevice method
Initialize the scale for the given connection type.
type must be AclasConnectionType.Serial, .USB, or .Bluetooth.
Implementation
@override
Future<bool> initDevice(AclasConnectionType type) async {
final result = await methodChannel.invokeMethod<bool>(
'initDevice',
<String, Object>{'type': _connectionTypeToArg(type)},
);
return result ?? false;
}