isEmpty property

  1. @override
  2. @Deprecated('Use isDefault instead.')
bool get isEmpty
override

Checks if the geographic area is empty.

Returns

  • true if the area is empty, false otherwise.

Implementation

@override
@Deprecated('Use isDefault instead.')
bool get isEmpty {
  return topLeft.longitude - bottomRight.longitude == 0.0 &&
      topLeft.latitude - bottomRight.latitude == 0.0;
}