onConnect abstract method

FutureOr<bool> onConnect(
  1. RemoteClient client, [
  2. Map<String, Object?>? connectionParams
])

Implementation

FutureOr<bool> onConnect(
  RemoteClient client, [
  Map<String, Object?>? connectionParams,
]);