TencentCloudChatVoteDataOptoin.fromJson constructor
Implementation
TencentCloudChatVoteDataOptoin.fromJson(Map<String, dynamic> json) {
try {
if (json["index"].runtimeType != int) {
json["index"] = int.parse(json["index"]);
}
index = json["index"];
option = json['option'];
} catch (e) {
print(e);
}
}