getEntry method
Returns the partition entry specified by key
.
name
: The partition namekey
: The key
Implementation
@override
Future<E?> getEntry(String name, String key) {
final box = _adapter.box<O>(name);
if (box != null) {
return Future.value(_readEntry(box.get(key.hashCode), decoder(name)));
}
return Future<E?>.value();
}