mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 07:45:30 +00:00
17 lines
417 B
Dart
17 lines
417 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'resource.dart';
|
|
|
|
part 'resolve_result.g.dart';
|
|
|
|
@JsonSerializable(explicitToJson: true)
|
|
class ResolveResult {
|
|
String id;
|
|
Resource res;
|
|
|
|
ResolveResult({this.id = "", required this.res});
|
|
|
|
factory ResolveResult.fromJson(Map<String, dynamic> json) => _$ResolveResultFromJson(json);
|
|
Map<String, dynamic> toJson() => _$ResolveResultToJson(this);
|
|
}
|