lookup<T extends Model> method
Looks up keys
in the datastore and returns a list of Model objects.
Any key that is not found in the datastore will have a corresponding value of null in the list of model objects that is returned.
For transactions, please use beginTransaction
and call the lookup
method on it's returned Transaction object.
See also:
- lookupValue, which looks a single value up by its key, requiring a successful lookup.
Implementation
Future<List<T?>> lookup<T extends Model>(List<Key> keys) {
return _lookupHelper<T>(this, keys);
}