hasEmbed property

bool get hasEmbed

Returns true if this line contains an embedded object.

Implementation

bool get hasEmbed {
  return children.any((child) => child is Embed);
}