// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'cacheableFile.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 int?,
      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),
    )..sort = json['sort'] as String?;

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(),
      'sort': instance.sort,
    };
