code: func (c *SeparatorComponent) MarshalJSON() ([]byte, error) {
  	return json.Marshal(&struct {
  		Type   FlexComponentType       `json:"type"`
  		Margin FlexComponentMarginType `json:"margin,omitempty"`
  		Color  string                  `json:"color,omitempty"`
  	}{
  		Type:   FlexComponentTypeSeparator,
  		Margin: c.Margin,
  		Color:  c.Color,
  	})
  }
docs: // MarshalJSON method of SeparatorComponent