getName method

String getName()

Implementation

String getName() {
  var dat = MyData("hellotest!");
  return (dat.name);
}