isEmptyByGeometry property

  1. @override
bool get isEmptyByGeometry
override

Returns true if this feature do not contain any geometry or geometry is empty.

Note that if geometry is null but the feature contains properties, this is still considered empty according to specification from Bounded: "Returns true if this bounded object is considered empty (that is it do not contain any geometry directly or on child objects, or geometry contained is empty)".

Implementation

@override
bool get isEmptyByGeometry => geometry == null || geometry!.isEmptyByGeometry;