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(
  String type, {
  Map<String, dynamic> data = const {},
}) : super(type, inline: false, data: data);