CometChat constructor

CometChat(
  1. String appId, {
  2. @deprecated String? authKey,
  3. String region = 'us',
})

Constructor for creating CometChat object appId refers to your CometChat App ID. region The region where the app was created.

Implementation

CometChat(
    this.appId, {
      @deprecated this.authKey,
      this.region = 'us',
    });