blurred method Null safety

Background blurred(
  1. [BlurredBackground? blurredBackground]
)

Implementation

static Background blurred([BlurredBackground? blurredBackground]) {
  if (blurredBackground != null) {
    return blurredBackground;
  }
  return BlurredBackground();
}