ChannelsResponse.fromJson constructor

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

Implementation

factory ChannelsResponse.fromJson(Map<String, dynamic> json) {
  return ChannelsResponse(
    channels: (json['Channels'] as Map<String, dynamic>).map((k, e) =>
        MapEntry(k, ChannelResponse.fromJson(e as Map<String, dynamic>))),
  );
}