SendbirdChat constructor

SendbirdChat(
  1. {String applicationId,
  2. String apiToken}
)

Implementation

SendbirdChat({
  String applicationId,
  String apiToken,
}) {
  this._usersApi = "https://api-$applicationId.sendbird.com/v3/users/";
  this._openChannelsApi =
      "https://api-$applicationId.sendbird.com/v3/open_channels/";
  this._defaultHeaders = {
    'Content-Type': 'application/json',
    'Api-Token': apiToken,
  };
}