From cc41fa42ba7a1300862b7bc71d6853c66778c49f Mon Sep 17 00:00:00 2001 From: Rasarts Date: Fri, 28 Jul 2017 16:59:02 +0300 Subject: [PATCH] Remove assert --- lib/mqtt_message_suback.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mqtt_message_suback.dart b/lib/mqtt_message_suback.dart index b6f92b2..7864ea4 100644 --- a/lib/mqtt_message_suback.dart +++ b/lib/mqtt_message_suback.dart @@ -22,7 +22,7 @@ class MqttMessageSuback extends MqttMessageAssured { * byte 2 - Message ID LSB */ num decodeVariableHeader(List data) { - assert(data.length == 3); + // assert(data.length == 3); messageID = 256 * data[0] + data[1];