toStringElements
Builds a toString() representation using Guava's MoreObjects.ToStringHelper.
This extension function on Any creates a MoreObjects.ToStringHelper and applies the given block to configure its fields, then returns the resulting string.
Return
the formatted string representation.
Parameters
block
configuration block applied to the MoreObjects.ToStringHelper.