isSameRouteAs method

bool isSameRouteAs(
  1. JupiterRoute other
)

Implementation

bool isSameRouteAs(JupiterRoute other) {
  if (marketInfos.length != other.marketInfos.length) return false;
  for (var i = 0; i < marketInfos.length; i++) {
    if (marketInfos[i].id != other.marketInfos[i].id) return false;
  }
  return true;
}