The provision, conduct, operation, and maintenance of a system of public recreation under the provisions of this chapter shall be a governmental function of municipalities, school districts, or park districts.