publishDone property
bool
get
publishDone
completes when all relays have responded or timed out first string is the relay url, second is the response
Implementation
bool get publishDone {
final doneCount = broadcasts.values
.where((element) => element.okReceived)
.length
.toDouble();
final totalCount = broadcasts.length.toDouble();
return doneCount / totalCount >= considerDonePercent;
}