UserChannel.fromJson constructor

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

Implementation

UserChannel.fromJson(Map<String, dynamic> json) {
  cometServer = json['comet_server'];
  channelName = json['channel_name'];
  errorText = json['error_text'];
  successText = json['success_text'];
}