MockWebSocketConnection class
Properties
- closeCode → int?
-
no setter
- closeReason → String?
-
no setter
-
done
→ Future<
Null> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, dynamic> -
final
-
protocols
→ Iterable<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
final
Methods
-
close(
[int? code, String? reason]) → Future< Null> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onData(
dynamic callback(dynamic data)) → void -
send(
Object data) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited