2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2026-04-04 02:08:21 +00:00

null-safety

This commit is contained in:
2021-07-24 13:12:43 +03:00
parent 6be04c39ed
commit 614c6853e3
48 changed files with 3022 additions and 3320 deletions

View File

@@ -37,7 +37,7 @@ abstract class ISocket extends IDestructible {
//void send(DC message);
INetworkReceiver<ISocket> receiver;
INetworkReceiver<ISocket>? receiver;
void send(DC message, [int offset, int size]);
void close();
@@ -45,6 +45,6 @@ abstract class ISocket extends IDestructible {
bool begin();
AsyncReply<ISocket> accept();
IPEndPoint remoteEndPoint;
IPEndPoint localEndPoint;
IPEndPoint? remoteEndPoint;
IPEndPoint? localEndPoint;
}