CachesInfo.fromJson constructor

CachesInfo.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory CachesInfo.fromJson(Map<String, dynamic> jsonSerialization) {
  return CachesInfo(
    local: _i2.CacheInfo.fromJson(
        (jsonSerialization['local'] as Map<String, dynamic>)),
    localPrio: _i2.CacheInfo.fromJson(
        (jsonSerialization['localPrio'] as Map<String, dynamic>)),
    global: _i2.CacheInfo.fromJson(
        (jsonSerialization['global'] as Map<String, dynamic>)),
  );
}