// GENERATED CODE - DO NOT MODIFY BY HAND part of 'comment_model.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _$CommentImpl _$$CommentImplFromJson(Map json) => _$CommentImpl( data: (json['data'] as List) .map((e) => Datum.fromJson(e as Map)) .toList(), links: Links.fromJson(json['links'] as Map), meta: Meta.fromJson(json['meta'] as Map), ); Map _$$CommentImplToJson(_$CommentImpl instance) => { 'data': instance.data, 'links': instance.links, 'meta': instance.meta, }; _$DatumImpl _$$DatumImplFromJson(Map json) => _$DatumImpl( id: (json['id'] as num).toInt(), authorName: json['author_name'] as String, authorProfileIcon: json['author_profile_icon'] as String, body: json['body'] as String, childrenComments: (json['children_comments'] as List) .map((e) => Datum.fromJson(e as Map)) .toList(), ); Map _$$DatumImplToJson(_$DatumImpl instance) => { 'id': instance.id, 'author_name': instance.authorName, 'author_profile_icon': instance.authorProfileIcon, 'body': instance.body, 'children_comments': instance.childrenComments, }; _$LinksImpl _$$LinksImplFromJson(Map json) => _$LinksImpl( first: json['first'] as String, last: json['last'] as String, prev: json['prev'], next: json['next'], ); Map _$$LinksImplToJson(_$LinksImpl instance) => { 'first': instance.first, 'last': instance.last, 'prev': instance.prev, 'next': instance.next, }; _$MetaImpl _$$MetaImplFromJson(Map json) => _$MetaImpl( currentPage: (json['current_page'] as num).toInt(), from: (json['from'] as num).toInt(), lastPage: (json['last_page'] as num).toInt(), links: (json['links'] as List) .map((e) => Link.fromJson(e as Map)) .toList(), path: json['path'] as String, perPage: (json['per_page'] as num).toInt(), to: (json['to'] as num).toInt(), total: (json['total'] as num).toInt(), ); Map _$$MetaImplToJson(_$MetaImpl instance) => { '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, }; _$LinkImpl _$$LinkImplFromJson(Map json) => _$LinkImpl( url: json['url'] as String?, label: json['label'] as String, active: json['active'] as bool, ); Map _$$LinkImplToJson(_$LinkImpl instance) => { 'url': instance.url, 'label': instance.label, 'active': instance.active, };