forked from eatvio/eatvio_app
66 lines
2.0 KiB
Dart
66 lines
2.0 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'pagination_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$LinksImpl _$$LinksImplFromJson(Map<String, dynamic> json) => _$LinksImpl(
|
|
first: json['first'] as String,
|
|
last: json['last'] as String,
|
|
prev: json['prev'],
|
|
next: json['next'],
|
|
);
|
|
|
|
Map<String, dynamic> _$$LinksImplToJson(_$LinksImpl instance) =>
|
|
<String, dynamic>{
|
|
'first': instance.first,
|
|
'last': instance.last,
|
|
'prev': instance.prev,
|
|
'next': instance.next,
|
|
};
|
|
|
|
_$MetaImpl _$$MetaImplFromJson(Map<String, dynamic> json) => _$MetaImpl(
|
|
currentPage: (json['current_page'] as num).toInt(),
|
|
from: json['from'],
|
|
lastPage: (json['last_page'] as num).toInt(),
|
|
links:
|
|
(json['links'] as List<dynamic>)
|
|
.map((e) => Link.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
path: json['path'] as String?,
|
|
perPage: (json['per_page'] as num).toInt(),
|
|
to: json['to'],
|
|
total: (json['total'] as num).toInt(),
|
|
totalMinPrice: (json['total_min_price'] as num?)?.toInt(),
|
|
totalMaxPrice: (json['total_max_price'] as num?)?.toInt(),
|
|
);
|
|
|
|
Map<String, dynamic> _$$MetaImplToJson(_$MetaImpl instance) =>
|
|
<String, dynamic>{
|
|
'current_page': instance.currentPage,
|
|
'from': instance.from,
|
|
'last_page': instance.lastPage,
|
|
'links': instance.links,
|
|
'path': instance.path,
|
|
'per_page': instance.perPage,
|
|
'to': instance.to,
|
|
'total': instance.total,
|
|
'total_min_price': instance.totalMinPrice,
|
|
'total_max_price': instance.totalMaxPrice,
|
|
};
|
|
|
|
_$LinkImpl _$$LinkImplFromJson(Map<String, dynamic> json) => _$LinkImpl(
|
|
url: json['url'] as String?,
|
|
label: json['label'] as String?,
|
|
active: json['active'] as bool?,
|
|
);
|
|
|
|
Map<String, dynamic> _$$LinkImplToJson(_$LinkImpl instance) =>
|
|
<String, dynamic>{
|
|
'url': instance.url,
|
|
'label': instance.label,
|
|
'active': instance.active,
|
|
};
|