onPermanentlyDeniedCallback method

Permission onPermanentlyDeniedCallback(
  1. FutureOr<void>? callback()?
)

Method to set a callback for when permission is permanently denied.

Implementation

Permission onPermanentlyDeniedCallback(FutureOr<void>? Function()? callback) {
  _onPermanentlyDenied = callback;
  return this;
}