BlockEmbed constructor

BlockEmbed(
  1. String type, {
  2. Map<String, dynamic> data = const {},
})

Creates a new block embed of specified type and containing data.

Implementation

BlockEmbed(
  super.type, {
  super.data,
}) : super(inline: false);