SearchPhoto constructor

SearchPhoto({
  1. required int? page,
  2. required int? perPage,
  3. required List<Photo>? photos,
  4. required int? totalResults,
  5. required String? nextPage,
  6. required String? prevPage,
})

Named ConstructorsSearchPhoto with require params

Implementation

SearchPhoto(
    {required this.page,
    required this.perPage,
    required this.photos,
    required this.totalResults,
    required this.nextPage,
    required this.prevPage});