init static method

void init([
  1. SunnyColors? color
])

Implementation

static void init([SunnyColors? color]) {
  _sunnyColors = color ?? SunnyColors.defaults();
}