getInfo method
Returns the info for the specified key
in a partition.
name
: The partition namekey
: The key
Implementation
@override
Future<I?> getInfo(String name, String key) {
final box = _adapter.box<O>(name);
if (box != null) {
return Future.value(_readInfo(box.get(key.hashCode)));
}
return Future.value();
}