isZero property

bool get isZero

Returns true if the value is considered zero, otherwise false.

Implementation

bool get isZero =>
    topHeader == kZeroHeight &&
    header == kZeroHeight &&
    content == kZeroHeight &&
    footer == kZeroHeight;