calculateArea method
void
calculateArea()
Implementation
void calculateArea() {
if (_regionArea.anyEmpty) mapSize = Size.zero;
double width = _regionArea.maxX! - _regionArea.minX!;
double height = _regionArea.maxY! - _regionArea.minY!;
mapSize = Size(width, height);
}