shamblett / mqtt5_client

A server and browser based MQTT 5 client for dart
Other
51 stars 29 forks source link

mqtt5_clinet master have a error about :_TypeError (type '(MqttMessage) => bool' is not a subtype of type '((MqttMessage?) => bool)?' of 'callback') #11

Closed tongweizj closed 3 years ago

tongweizj commented 3 years ago

return await super.connect(username, password);

Exception has occurred. _TypeError (type '(MqttMessage) => bool' is not a subtype of type '((MqttMessage?) => bool)?' of 'callback')

shamblett commented 3 years ago

the migration to null safety is not yet complete, you should not be using the master branch of the repo, only published package versions. see my comments on #8