generateId method

String generateId(
  1. SocketConnect connect
)

generate a socket id. Overwrite this method to generate your custom socket id

Implementation

String generateId(SocketConnect connect) {
  return _uuid.v1().replaceAll('-', '');
}