mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 00:26:18 +08:00
17 lines
330 B
Dart
17 lines
330 B
Dart
class Forward {
|
|
int? count;
|
|
bool? forbidden;
|
|
|
|
Forward({this.count, this.forbidden});
|
|
|
|
factory Forward.fromJson(Map<String, dynamic> json) => Forward(
|
|
count: json['count'] as int?,
|
|
forbidden: json['forbidden'] as bool?,
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'count': count,
|
|
'forbidden': forbidden,
|
|
};
|
|
}
|