borderGradient method Null safety

Background borderGradient(
  1. [BorderGradientBackground? borderGradientBackground]
)

Implementation

static Background borderGradient(
    [BorderGradientBackground? borderGradientBackground]) {
  if (borderGradientBackground != null) {
    return borderGradientBackground;
  }
  return BorderGradientBackground();
}