28 lines
1,002 B
Dart
28 lines
1,002 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'opds_stream_link.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$OPDSStreamLinkImpl _$$OPDSStreamLinkImplFromJson(Map<String, dynamic> 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<String, dynamic> _$$OPDSStreamLinkImplToJson(
|
|
_$OPDSStreamLinkImpl instance) =>
|
|
<String, dynamic>{
|
|
'href': instance.href,
|
|
'type': instance.type,
|
|
'pageCount': instance.pageCount,
|
|
'lastRead': instance.lastRead,
|
|
'lastReadDate': instance.lastReadDate?.toIso8601String(),
|
|
};
|