fromJson static method
Implementation
// ignore: prefer_constructors_over_static_methods
static Channel fromJson(dynamic value) {
if (value is Map) {
final json = value.cast<String, dynamic>();
return Channel(
info: ChannelInfo.fromJson(json[r'info']),
);
}
throw ArgumentError('Value is not a map');
}