The name used for each layer in the legend seems to be hardcoded to the name in the web service:  API: https://services.arcgis.com/2gdL2gxYNFY2TOUb/arcgis/rest/services/Public_ParkingApp_View/FeatureServer/0