SocketInputOptions constructor

SocketInputOptions({
  1. required String user,
  2. required ENV env,
  3. required String socketType,
  4. required SocketOptions socketOptions,
})

Implementation

SocketInputOptions({
  required this.user,
  required this.env,
  required this.socketType,
  required this.socketOptions,
}) {
  assert(socketType == SOCKETTYPES.NOTIFICATION ||
      socketType == SOCKETTYPES.CHAT);
}