border method Null safety

Background border(
  1. [BorderBackground? borderBackground]
)

Implementation

static Background border([BorderBackground? borderBackground]) {
  if (borderBackground != null) {
    return borderBackground;
  }
  return BorderBackground();
}