side method

String side()

Implementation

String side() {
  if (this == SideEnum.buy)
    return 'buy';
  else
    return 'sell';
}