hasEmbed property
bool
get
hasEmbed
Returns true
if this line contains an embed.
Implementation
bool get hasEmbed {
if (childCount == 1) {
return children.single is EmbedNode;
}
assert(children.every((child) => child is TextNode));
return false;
}