getDelay method

dynamic getDelay()

Implementation

dynamic getDelay() {
  if (widget.delayDismiss != null && widget.delayDismiss! > 0) {
    return widget.delayDismiss;
  } else if (widget.delayDismiss == null) {
    return delay;
  } else if (widget.delayDismiss! <= 0) {
    return null;
  }
  return null;
}