import '../Data/BinaryList.dart'; import '../Core/AsyncReply.dart'; import 'NetworkConnection.dart'; class SendList extends BinaryList { NetworkConnection connection; AsyncReply> reply; SendList(NetworkConnection connection, AsyncReply> reply) { this.reply = reply; this.connection = connection; } @override AsyncReply> done() { connection.send(super.toDC()); return reply; } }