Future<String> hardwareId() async { String? hardwareId = await _channel.invokeMethod('config.hardwareId'); if (hardwareId == null) { throw TypeError(); } return hardwareId; }