fetch method

Future<ApiKey?> fetch(
  1. ObjectId id
)

Fetches a specific API key by id.

Implementation

Future<ApiKey?> fetch(ObjectId id) {
  _user._ensureLoggedIn('fetch an API key');

  return _user.handle.fetchApiKey(_user.app.handle, id).handle404();
}