isDefault property

  1. @override
bool get isDefault
override

Checks if the geographic area has default values.

Returns

  • True if the area has default values, false otherwise.

Implementation

@override
bool get isDefault =>
    topLeft.longitude - bottomRight.longitude == 0.0 &&
    topLeft.latitude - bottomRight.latitude == 0.0;