dlerror method

String? dlerror()

Returns a human-readable string describing the most recent error that occurred from dlopen(), dlsym() or dlclose() since the last call to dlerror().

Implementation

String? dlerror() {
  final err = _lastError;
  _lastError = null;
  return err;
}