getProperty method

dynamic getProperty(
  1. String name
)

Implementation

getProperty(String name) {
  if(name == "xyz") {
    return this.xyz;
  } else if (name == "w") {
    return w;
  } else {
    return super.getProperty(name);
  }

}