I\'m trying to set the transition animation options for the Switch I created on the screen.
So I used the Instance Method below.
func setOn(_ on: Bool,