// GENERATED CODE - DO NOT MODIFY BY HAND part of 'opds_stream_link.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _$OPDSStreamLinkImpl _$$OPDSStreamLinkImplFromJson(Map json) => _$OPDSStreamLinkImpl( href: json['href'] as String, type: json['type'] as String, pageCount: (json['pageCount'] as num).toInt(), lastRead: (json['lastRead'] as num?)?.toInt(), lastReadDate: json['lastReadDate'] == null ? null : DateTime.parse(json['lastReadDate'] as String), ); Map _$$OPDSStreamLinkImplToJson( _$OPDSStreamLinkImpl instance) => { 'href': instance.href, 'type': instance.type, 'pageCount': instance.pageCount, 'lastRead': instance.lastRead, 'lastReadDate': instance.lastReadDate?.toIso8601String(), };