ClientConfig constructor
ClientConfig({
- required Uri hubUri,
- required CredentialProvider credentials,
- ConnectionFactory? connectionFactory,
- Clock clock = const SystemClock(),
- void logger(
- String message
- void onDisconnected()?,
Creates a client configuration.
Implementation
ClientConfig({
required this.hubUri,
required this.credentials,
this.connectionFactory,
this.clock = const SystemClock(),
this.logger,
this.onDisconnected,
});