Skip to content

Instantly share code, notes, and snippets.

@ricardoogliari
Created July 7, 2019 03:30
Show Gist options
  • Save ricardoogliari/88eedbc65427d56bf9fc4db4cff47a48 to your computer and use it in GitHub Desktop.
Save ricardoogliari/88eedbc65427d56bf9fc4db4cff47a48 to your computer and use it in GitHub Desktop.
variables.dart
String broker = abc.cloudmqtt.com';
int port = 13372;
String username = 'seu_username';
String passwd = 'seu_password';
String clientIdentifier = 'android';
double _temp = 20;
mqtt.MqttClient client;
mqtt.MqttConnectionState connectionState;
StreamSubscription subscription;
@bphermansson
Copy link

Note: Line 1 is missing a ', before "abc".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment