Created
November 28, 2017 11:46
-
-
Save rinukkusu/289ab470ff20df6585b1d196fa43b7b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Consumer { | |
String name; | |
String connectionName; | |
String consumerTag; | |
bool isAckRequired; | |
bool isExclusive; | |
Consumer.fromJson(Map<String, dynamic> map) { | |
name = map["name"]; | |
connectionName = map["connectionName"]; | |
consumerTag = map["consumerTag"]; | |
isAckRequired = map["isAckRequired"]; | |
isExclusive = map["isExclusive"]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment