toList method

List<int> toList()

Implementation

List<int> toList() {
  return [
    this.red,
    this.blue,
    this.green,
  ];
}