SocketState constructor

const SocketState({
  1. bool isWorking = false,
  2. String error = '',
  3. String accion = '',
  4. String parametroUi = '',
  5. bool inicializo = false,
  6. SocketServerStatusAuth serverStatus = SocketServerStatusAuth.connecting,
  7. String coleccionActualizada = '',
  8. String socketChannelMensajeRecebido = '',
  9. List<Map<String, dynamic>> lstMensajes = const [],
  10. int mensajesSinLeer = 0,
})

Implementation

const SocketState({
  this.isWorking = false,
  this.error = '',
  this.accion = '',
  this.parametroUi = '',
  this.inicializo = false,
  this.serverStatus = SocketServerStatusAuth.connecting,
  this.coleccionActualizada = '',
  this.socketChannelMensajeRecebido = '',
  this.lstMensajes = const [],
  this.mensajesSinLeer = 0,
  // List<Map<String, dynamic>>? lstMensajes,
});