CacheEntry.fromJson constructor

CacheEntry.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CacheEntry.fromJson(Map<String, dynamic> json) => CacheEntry(
      path: json['path'],
      size: json['size'],
      modified: DateTime.parse(json['modified']),
      optimizedAt: DateTime.parse(json['optimizedAt']),
    );