Open ahmloutfy opened 10 months ago
you can use this url and need to update Image_model
as example:
import 'package:json_annotation/json_annotation.dart';
part 'image_model.g.dart';
@JsonSerializable()
class PixelformImage {
String id;
String author;
String url;
@JsonKey(name: 'download_url')
String urlFullSize;
PixelformImage(
{required this.author,
required this.url,
required this.id,
required this.urlFullSize});
factory PixelformImage.fromJson(Map<String, dynamic> json) =>
_$PixelformImageFromJson(json);
Map<String, dynamic> toJson() => _$PixelformImageToJson(this);
}
I'm learining Flutter and lately started learning from the linkedin course.
But I found that the link:
https://pixelford.com/api2/images
not exists, so how can I continue with the course without it?