team property

int get team

get team of this code

Implementation

int get team {
  if (isBlank) {
    return -1;
  }
  return _code.codeUnitAt(0) < ChessFen.colIndexBase ? 0 : 1;
}