hasContent property

bool get hasContent

Returns true if content is not null, otherwise false.

Implementation

bool get hasContent => content != null;