// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'document.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_$DocumentImpl _$$DocumentImplFromJson(Map<String, dynamic> json) =>
    _$DocumentImpl(
      id: json['id'] as String,
      filename: json['filename'] as String,
      docType: json['docType'] as String,
      filePath: json['filePath'] as String,
      pageCount: (json['pageCount'] as num?)?.toInt() ?? 0,
      rotation: (json['rotation'] as num?)?.toInt() ?? 0,
      createdAt: DateTime.parse(json['createdAt'] as String),
      updatedAt: DateTime.parse(json['updatedAt'] as String),
    );

Map<String, dynamic> _$$DocumentImplToJson(_$DocumentImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'filename': instance.filename,
      'docType': instance.docType,
      'filePath': instance.filePath,
      'pageCount': instance.pageCount,
      'rotation': instance.rotation,
      'createdAt': instance.createdAt.toIso8601String(),
      'updatedAt': instance.updatedAt.toIso8601String(),
    };
