ChannelNewResponse.fromMap constructor

ChannelNewResponse.fromMap(
  1. Map<String, dynamic>? json
)

Implementation

ChannelNewResponse.fromMap(Map<String, dynamic>? json) {
  if (json != null) {
    channel =
        json['channel'] != null ? Channel.fromMap(json['channel']) : null;
    success = json['success'];
  }
}