getProperty method

dynamic getProperty(
  1. String name
)

Implementation

getProperty(String name) {
  if(name == "xyz") {
    return xyz;
  } else {
    throw("Node ${this} getProperty name: ${name} is not support  ");
  }

}