2023-02-08 17:20:16 +08:00
|
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'package:momo/models/image_resp.dart';
|
|
|
|
|
|
|
|
part 'image_list_resp.g.dart';
|
|
|
|
|
|
|
|
@JsonSerializable()
|
|
|
|
class ImageListResp {
|
|
|
|
List<ImageResp> list;
|
|
|
|
int total;
|
2023-02-09 17:07:14 +08:00
|
|
|
bool hasNext;
|
2023-02-08 17:20:16 +08:00
|
|
|
|
2023-02-09 17:07:14 +08:00
|
|
|
ImageListResp(this.list, this.total, this.hasNext);
|
2023-02-08 17:20:16 +08:00
|
|
|
|
|
|
|
factory ImageListResp.fromJson(Map<String, dynamic> json) =>
|
|
|
|
_$ImageListRespFromJson(json);
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _$ImageListRespToJson(this);
|
|
|
|
}
|