cache property

Future<T?> get cache

Implementation

Future<T?> get cache async {
  final value = await _r(key);
  if (value.isEmpty) return null;
  try {
    return build(value);
  } catch (_) {
    return null;
  }
}