Spear.StreamMetadata.to_map

You're seeing just the function to_map, go back to Spear.StreamMetadata module for more information.

Converts a stream metadata struct to a map in the format EventStoreDB expects