setOnDiscoveryError method

void setOnDiscoveryError(
  1. dynamic onDiscoveryError(
    1. String,
    2. String?
    )?
)

Implementation

void setOnDiscoveryError(Function(String, String?)? onDiscoveryError) {
  this.onDiscoveryError = onDiscoveryError;
}