getInstance static method

Future<ChatSocket> getInstance(
  1. String integrationId
)

Implementation

static Future<ChatSocket> getInstance(String integrationId) async {
  var integrationResponse =
      await ChatSocketRepository.getIntegration(integrationId);

  return ChatSocket(integrationId, integrationResponse);
}