init static method

void init({
  1. required String key,
  2. required String secret,
})

Namebase init()

  • Initializes the Namebase API.
  • Sets the user record name.
  • Sets the internal reference to the Namebase API. Required : API_KEY, API_SECRET

Implementation

static void init({required String key, required String secret}) {
  _internal = APIClient(key: key, secret: secret);
}