isEmpty property

  1. @override
bool get isEmpty
override

Checks if the geographic area is empty.

Returns

  • true if the area is empty, false otherwise.

Implementation

@override
bool get isEmpty {
  return topLeft.longitude - bottomRight.longitude == 0.0 &&
      topLeft.latitude - bottomRight.latitude == 0.0;
}