forked from eatvio/eatvio_app
38 lines
1.6 KiB
Dart
38 lines
1.6 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'recipes_pagination_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$RecipesPaginationImpl _$$RecipesPaginationImplFromJson(Map<String, dynamic> json) => _$RecipesPaginationImpl(
|
|
recipesList: (json['data'] as List<dynamic>).map((e) => Recipes.fromJson(e as Map<String, dynamic>)).toList(),
|
|
currentPage: (json['current_page'] as num).toInt(),
|
|
firstPageUrl: json['first_page_url'] as String,
|
|
from: (json['from'] as num).toInt(),
|
|
lastPage: (json['last_page'] as num).toInt(),
|
|
lastPageUrl: json['last_page_url'] as String,
|
|
nextPageUrl: json['next_page_url'] as String,
|
|
path: json['path'] as String,
|
|
perPage: (json['per_page'] as num).toInt(),
|
|
prevPageUrl: json['prev_page_url'],
|
|
to: (json['to'] as num).toInt(),
|
|
total: (json['total'] as num).toInt(),
|
|
);
|
|
|
|
Map<String, dynamic> _$$RecipesPaginationImplToJson(_$RecipesPaginationImpl instance) => <String, dynamic>{
|
|
'data': instance.recipesList,
|
|
'current_page': instance.currentPage,
|
|
'first_page_url': instance.firstPageUrl,
|
|
'from': instance.from,
|
|
'last_page': instance.lastPage,
|
|
'last_page_url': instance.lastPageUrl,
|
|
'next_page_url': instance.nextPageUrl,
|
|
'path': instance.path,
|
|
'per_page': instance.perPage,
|
|
'prev_page_url': instance.prevPageUrl,
|
|
'to': instance.to,
|
|
'total': instance.total,
|
|
};
|