init static method

dynamic init(
  1. Color color,
  2. bool isDark
)

Implementation

static init(Color color, bool isDark) {
  _color = color;
  _isDark = isDark;
}