shade method

Color shade(
  1. int number
)

Takes an integer as argument and returns a color shade based on that number.

Implementation

Color shade(int number) => this[number]!;