mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 15:49:49 +00:00
17 lines
374 B
Dart
17 lines
374 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'switch_extension.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class SwitchExtension {
|
|
bool status;
|
|
|
|
SwitchExtension({
|
|
required this.status,
|
|
});
|
|
|
|
factory SwitchExtension.fromJson(Map<String, dynamic> json) =>
|
|
_$SwitchExtensionFromJson(json);
|
|
Map<String, dynamic> toJson() => _$SwitchExtensionToJson(this);
|
|
}
|