code: func (typedData *TypedData) Map() map[string]interface{} {
  	dataMap := map[string]interface{}{
  		"types":       typedData.Types,
  		"domain":      typedData.Domain.Map(),
  		"primaryType": typedData.PrimaryType,
  		"message":     typedData.Message,
  	}
  	return dataMap
  }
docs: // Map generates a map version of the typed data