A company related to the Brooklyn Nets and New York Islanders is taking a chain of health clinics to court — and seeking nearly $2 million for broken contracts, according to a new lawsuit.

The Nets and an Islanders-related events company entered into a series of 10-year sponsorship deals with ProHEALTH Corp. worth $3.4 million in 2014 — with the health company paying for “sponsorship, promotional and other rights” at the Nets training facility and the Barclays Center during certain Islanders events, according to the Manhattan Supreme Court lawsuit filed Monday.

But the Lake Success, NY, health company stopped paying its quarterly fees in October 2018 and is now refusing to pay up — despite repeated requests from the Nets and the Islanders’ company, Brooklyn Events Center LLC, court papers allege.

The teams said they have honored their end of the deal.

“ProHealth has stated both on phone calls and in emails that it has no intention of paying the Nets Outstanding Fees and that it has no intention of meeting its future obligations under the Nets Agreement,” the court documents charge. “Instead, ProHealth has demanded, without any basis, that Nets LLC agree to accept half of the Nets Outstanding Fees and agree to early termination of the Nets Agreement.”

The teams say they are owed for past and future fees of $1.7 million.

A spokesperson with ProHEALTH’s parent company, UnitedHealth Group, said, “We have not seen the lawsuit and do not comment on pending litigation.”