mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 15:49:49 +00:00
15 lines
399 B
Dart
15 lines
399 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'install_extension.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class InstallExtension {
|
|
bool devMode;
|
|
String url;
|
|
|
|
InstallExtension({this.devMode = false, required this.url});
|
|
|
|
factory InstallExtension.fromJson(Map<String, dynamic> json) => _$InstallExtensionFromJson(json);
|
|
Map<String, dynamic> toJson() => _$InstallExtensionToJson(this);
|
|
}
|