Files
gopeed/ui/flutter/lib/api/model/resolve_result.dart
T
2023-02-06 20:58:13 +08:00

20 lines
464 B
Dart

import 'package:gopeed/api/model/resource.dart';
import 'package:json_annotation/json_annotation.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);
}