enable method

Future<void> enable(
  1. ObjectId objectId
)

Enables an API key by id.

Implementation

Future<void> enable(ObjectId objectId) {
  _user._ensureLoggedIn('enable an API key');

  return _user.handle.enableApiKey(_user.app.handle, objectId).handle404(id: objectId);
}