custom static method

BlockEmbed custom(
  1. CustomBlockEmbed customBlock
)

Implementation

static BlockEmbed custom(CustomBlockEmbed customBlock) =>
    BlockEmbed(customType, customBlock.toJsonString());