You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
862 B
22 lines
862 B
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'channels.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
Channels _$ChannelsFromJson(Map<String, dynamic> json) => Channels() |
|
..channel = |
|
(json['channels'] as List<dynamic>?)?.map((e) => e as String).toList() |
|
..isOpen = json['isOpen'] as bool? |
|
..preferentialList = (json['preferentialList'] as List<dynamic>?) |
|
?.map((e) => PreferentialList.fromJson(e as Map<String, dynamic>)) |
|
.toList(); |
|
|
|
Map<String, dynamic> _$ChannelsToJson(Channels instance) => <String, dynamic>{ |
|
'channels': instance.channel, |
|
'isOpen': instance.isOpen, |
|
'preferentialList': |
|
instance.preferentialList?.map((e) => e.toJson()).toList(), |
|
};
|
|
|