getBlockScopedHandlers method

Map<String, CommandHandler> getBlockScopedHandlers(
  1. String blockType
)

Get all block-scoped handlers registered for a specific block type. Returns an empty map if no handlers are registered for the block type.

Implementation

Map<String, CommandHandler> getBlockScopedHandlers(String blockType) {
  return _context.blockScopedCommandHandlers[blockType] ?? {};
}