setIsMiniaturized(_:)
Sets the window’s miniaturized state to the value you specify.
Declaration
func setIsMiniaturized(_ flag: Bool)Discussion
Depending on the current miniaturized state and the value of flag, the window may minimize to the Dock or expand from the Dock.