getKey abstract method

Future<Object?> getKey(
  1. Object key
)

finds either the given key or the primary key, if key is set to a KeyRange.

this returns the primary key of the record the key is associated with, not the whole record as Index.get does.

Implementation

Future<Object?> getKey(Object key);