resend method
void
resend()
Resends the data if the previous sending failed.
This method adds the data to the send list of the requester to be resent later.
Implementation
void resend() {
requester.addToSendList(data!);
}