TencentCloudChatVoteData.fromJson constructor

TencentCloudChatVoteData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

TencentCloudChatVoteData.fromJson(Map<String, dynamic> json) {
  title = json["title"] ?? "";
  content = TencentCloudChatVoteDataContent.fromJson(json["content"] ?? {});
  config = TencentCloudChatVoteDataConfig.fromJson(json['config'] ?? {});
}