Change the "basemap" option in the Map class

Discussion created by saqib4 on Mar 26, 2014
Latest reply on Mar 27, 2014 by saqib4
Does anyone know how to amend the basemap option below, so that I can add a dynamic map service (...../mapserver) instead of the ArcGISonline map?

I know about  e.g. map.addLayers(dynamicMapService), however I want to see if there is a a way to amend the below.

      map = new Map("map", {
        basemap: "topo"