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