byIndex method

String byIndex(
  1. int index
)

Implementation

String byIndex(int index) {
  switch (index) {
    case 0:
      return date;
    case 1:
      return open;
    case 2:
      return high;
    case 3:
      return low;
    case 4:
      return close;
    case 5:
      return changeAmount;
    case 6:
      return change;
    case 7:
      return amount;
  }

  throw UnimplementedError();
}