2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2025-09-14 04:23:17 +00:00
This commit is contained in:
2022-01-03 15:39:19 +03:00
parent 614c6853e3
commit eed16df29a
20 changed files with 521 additions and 443 deletions

View File

@@ -4,12 +4,12 @@ import 'NetworkConnection.dart';
class SendList extends BinaryList {
NetworkConnection connection;
AsyncReply<List<dynamic>>? reply;
AsyncReply<List<dynamic>?>? reply;
SendList(this.connection, this.reply) {}
@override
AsyncReply<List<dynamic>> done() {
AsyncReply<List<dynamic>?> done() {
connection.send(super.toDC());
return reply ?? AsyncReply.ready([]);