getFromStringKey<T> method

  1. @override
T? getFromStringKey<T>(
  1. String key
)

Implementation

@override
T? getFromStringKey<T>(String key) => _cache.entries
  .firstWhere((element) => element.key.toString() == key)
  .value as T;