ConscentInitializer constructor

ConscentInitializer(
  1. String clientId,
  2. ENVIRONMENTMODE apiMode
)

Implementation

ConscentInitializer(String this.clientId, ENVIRONMENTMODE this.apiMode) {
  if (clientId == null) {
    ConscentMethods()
        .onPluginError("Client ID is invalid, please check again");
  }

  mClientId = clientId;

  APIMode.getConscentServiceUrl(apiMode!);

}