code: func (typedData *TypedData) Format() []*NameValueType {
  	var nvts []*NameValueType
  	nvts = append(nvts, &NameValueType{
  		Name:  "EIP712Domain",
  		Value: typedData.formatData("EIP712Domain", typedData.Domain.Map()),
  		Typ:   "domain",
  	})
  	nvts = append(nvts, &NameValueType{
  		Name:  typedData.PrimaryType,
  		Value: typedData.formatData(typedData.PrimaryType, typedData.Message),
  		Typ:   "primary type",
  	})
  	return nvts
  }
docs: // Format returns a representation of typedData, which can be easily displayed by a user-interface
  // without in-depth knowledge about 712 rules