hasItalic property

bool get hasItalic

Returns true if this ContentfulTextMark is italic.

Implementation

bool get hasItalic => any((element) => element.type.isItalic);