mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 07:45:30 +00:00
19 lines
432 B
Dart
19 lines
432 B
Dart
import 'options.dart';
|
|
import 'request.dart';
|
|
import 'resource.dart';
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'meta.g.dart';
|
|
|
|
@JsonSerializable(explicitToJson: true)
|
|
class Meta {
|
|
Request req;
|
|
Resource? res;
|
|
Options opts;
|
|
|
|
Meta({required this.req, required this.opts});
|
|
|
|
factory Meta.fromJson(Map<String, dynamic> json) => _$MetaFromJson(json);
|
|
Map<String, dynamic> toJson() => _$MetaToJson(this);
|
|
}
|