predominant static method

Background predominant([
  1. PredominantBackground? predominantBackground
])

Implementation

static Background predominant(
    [PredominantBackground? predominantBackground]) {
  if (predominantBackground != null) {
    return predominantBackground;
  }
  return PredominantBackground();
}