mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 15:49:49 +00:00
21 lines
440 B
Dart
21 lines
440 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({
|
|
required this.id,
|
|
required this.res,
|
|
});
|
|
|
|
factory ResolveResult.fromJson(Map<String, dynamic> json) =>
|
|
_$ResolveResultFromJson(json);
|
|
Map<String, dynamic> toJson() => _$ResolveResultToJson(this);
|
|
}
|