I bequeath myself to the dirt to grow from the grass I love,
AND
If you want me again look for me under your boot-soles.
A realist looks at the world for what it is. In these lines Whitman is being a realist because when he dies he will be buried. He will be under the ground and under people's shoes. Also, when you die you return to the dirt and your decaying body feeds the grass. The other lines do not directly address death even though they talk to the reader about the relationship of the speaker to the reader after he has passed.