maxX property

int maxX

Implementation

int get maxX => directions.map((e) => e.h).reduce(max);