movedBlock static method
Top-level moved list — one {"from": ..., "to": ...} object per
Stack.addMoved entry, in registration order — or null when the
stack recorded none.
Implementation
static List<Map<String, String>>? movedBlock(Stack stack) {
final moved = stack.moved;
if (moved.isEmpty) return null;
return [for (final m in moved) m.toTfJson()];
}