isText property

bool get isText

Whether or not this is a TextContent.

Implementation

bool get isText => _value[Keys.type] == TextContent.expectedType;