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 realmCore.enableApiKey(_user, objectId).handle404(id: objectId);
}