withSimultaneousConnect method

Context withSimultaneousConnect(
  1. bool isClient,
  2. String reason
)

Creates a new Context with the simultaneous connect option

Implementation

Context withSimultaneousConnect(bool isClient, String reason) {
  return withValue(
    isClient ? _simConnectIsClientKey : _simConnectIsServerKey,
    reason,
  );
}