// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'cacheable_file.dart';

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

CacheableFile _$CacheableFileFromJson(Map<String, dynamic> json) =>
    CacheableFile(
      path: json['path'] as String,
      isDirectory: json['isDirectory'] as bool,
      name: json['name'] as String,
      mimeType: json['mimeType'] as String?,
      size: (json['size'] as num?)?.toInt(),
      eTag: json['eTag'] as String?,
      createdAt: json['createdAt'] == null
          ? null
          : DateTime.parse(json['createdAt'] as String),
      modifiedAt: json['modifiedAt'] == null
          ? null
          : DateTime.parse(json['modifiedAt'] as String),
      fileId: (json['fileId'] as num?)?.toInt(),
      hasPreview: json['hasPreview'] as bool?,
      isSharedWithMe: json['isSharedWithMe'] as bool?,
    );

Map<String, dynamic> _$CacheableFileToJson(CacheableFile instance) =>
    <String, dynamic>{
      'path': instance.path,
      'isDirectory': instance.isDirectory,
      'name': instance.name,
      'mimeType': instance.mimeType,
      'size': instance.size,
      'eTag': instance.eTag,
      'createdAt': instance.createdAt?.toIso8601String(),
      'modifiedAt': instance.modifiedAt?.toIso8601String(),
      'fileId': instance.fileId,
      'hasPreview': instance.hasPreview,
      'isSharedWithMe': instance.isSharedWithMe,
    };
