hasBold property

bool get hasBold

Returns true if this ContentfulTextMark is bold.

Implementation

bool get hasBold => any((element) => element.type.isBold);