// GENERATED CODE - DO NOT MODIFY BY HAND part of 'channels.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Channels _$ChannelsFromJson(Map json) => Channels() ..channel = (json['channels'] as List?)?.map((e) => e as String).toList() ..isOpen = json['isOpen'] as bool? ..preferentialList = (json['preferentialList'] as List?) ?.map((e) => PreferentialList.fromJson(e as Map)) .toList(); Map _$ChannelsToJson(Channels instance) => { 'channels': instance.channel, 'isOpen': instance.isOpen, 'preferentialList': instance.preferentialList?.map((e) => e.toJson()).toList(), };