This may be something silly that I'm doing wrong, but my feature layer name keeps coming back as undefined.console.log(featureLayer) produces this:
a ->
...
id: "graphicsLayer4"
..
name: "Fire Station"
..
console.log(featureLayer.id) produces "graphicsLayer4"console.log(featureLayer.name) produces "undefined"Any ideas what I'm doing wrong?