mapFromJson static method
Implementation
static Map<String, ChannelInfo?> mapFromJson(dynamic json) {
final map = <String, ChannelInfo?>{};
if (json is Map && json.isNotEmpty) {
json
.cast<String, dynamic>()
.forEach((key, dynamic value) => map[key] = ChannelInfo.fromJson(value));
}
return map;
}