StubWsFactory class

A WsFactory that always fails — replaced at compile time by the conditional export.

Implemented types

Constructors

StubWsFactory()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(Uri uri, {required String authorizationHeader, required Duration connectTimeout}) → Future<WsSocket>
Establishes a connection to uri.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited