EmbeddableObject constructor
Implementation
EmbeddableObject(
this.type, {
required this.inline,
Map<String, dynamic> data = const {},
}) : assert(!data.containsKey(kTypeKey),
'The "$kTypeKey" key is reserved in $EmbeddableObject data and cannot be used.'),
assert(!data.containsKey(kInlineKey),
'The "$kInlineKey" key is reserved in $EmbeddableObject data and cannot be used.'),
_data = Map.from(data);