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.
21 lines
477 B
21 lines
477 B
import 'package:huixiang/data/preferential.dart'; |
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'channels.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class Channels { |
|
|
|
@JsonKey(name: "channels") |
|
List<String>? channel = []; |
|
bool? isOpen = false; |
|
List<PreferentialList>? preferentialList = []; |
|
|
|
Channels(); |
|
|
|
factory Channels.fromJson(Map<String, dynamic> json) => _$ChannelsFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$ChannelsToJson(this); |
|
|
|
|
|
} |