setBackgroundColor method Null safety

void setBackgroundColor(
  1. int color
)

Set the background color.

@param color the color to use.

Implementation

void setBackgroundColor(int color) {
  this.backgroundColor = color;
}