DistributedCacheEntry.fromJson constructor

DistributedCacheEntry.fromJson(
  1. Map<String, dynamic> jsonSerialization,
  2. SerializationManager serializationManager
)

Implementation

factory DistributedCacheEntry.fromJson(
  Map<String, dynamic> jsonSerialization,
  _i1.SerializationManager serializationManager,
) {
  return DistributedCacheEntry(
      data: serializationManager
          .deserialize<String>(jsonSerialization['data']));
}