blue method Null safety

int blue(
  1. int color
)

Implementation

int blue(int color) => colors[color * 3 + 2];