width method

int width()

Implementation

int width() {
  return this.s.fold(0, (w, row) => row.length > w ? row.length : w);
}