mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 07:45:30 +00:00
18 lines
399 B
Dart
18 lines
399 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'options.dart';
|
|
import 'request.dart';
|
|
|
|
part 'resolve_task.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class ResolveTask {
|
|
Request? req;
|
|
Options? opts;
|
|
|
|
ResolveTask({this.req, this.opts});
|
|
|
|
factory ResolveTask.fromJson(Map<String, dynamic> json) => _$ResolveTaskFromJson(json);
|
|
Map<String, dynamic> toJson() => _$ResolveTaskToJson(this);
|
|
}
|