setCallbackSuccessfulConnection method
void
setCallbackSuccessfulConnection()
Sets callbackSuccessfulConnection callback that executes every time a connection successfully finishes.
Implementation
void setCallbackSuccessfulConnection(
String callbackId, Function(Device) callbackSuccessfulConnection) {
this.callbackSuccessfulConnection[callbackId] =
callbackSuccessfulConnection;
}