// GENERATED CODE - DO NOT MODIFY BY HAND part of 'stream_link.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _$StreamLinkImpl _$$StreamLinkImplFromJson(Map json) => _$StreamLinkImpl( 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 _$$StreamLinkImplToJson(_$StreamLinkImpl instance) => { 'href': instance.href, 'type': instance.type, 'pageCount': instance.pageCount, 'lastRead': instance.lastRead, 'lastReadDate': instance.lastReadDate?.toIso8601String(), };