SignalrPlatformInterface constructor

SignalrPlatformInterface(
  1. String baseUrl,
  2. String hubName, {
  3. String? queryString,
  4. Map<String, String>? headers,
  5. List<String>? hubMethods,
  6. Transport transport = Transport.auto,
  7. void statusChangeCallback(
    1. ConnectionStatus?
    )?,
  8. void hubCallback(
    1. String,
    2. String
    )?,
})

Implementation

SignalrPlatformInterface(this.baseUrl, this.hubName,
    {this.queryString,
    this.headers,
    this.hubMethods,
    this.transport = Transport.auto,
    this.statusChangeCallback,
    this.hubCallback})
    : assert(baseUrl != ''),
      assert(hubName != '');