fix(example): Comform examples to the new TCPSocketWrapper constructor

This commit is contained in:
PapaTutuWawa committed 2023-10-04 22:15:24 +02:00
1 parent 93e9d6ca22
commit f287d501ab
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import 'package:moxxmpp_socket_tcp/moxxmpp_socket_tcp.dart';
/// A simple socket for examples that allows injection of SRV records (since
/// we cannot use moxdns here).
class ExampleTCPSocketWrapper extends TCPSocketWrapper {
ExampleTCPSocketWrapper(this.srvRecord);
ExampleTCPSocketWrapper(this.srvRecord, bool logData) : super(logData);
/// A potential SRV record to inject for testing.
final MoxSrvRecord? srvRecord;