getProperty method

dynamic getProperty(
  1. String name
)

Implementation

getProperty(String name) {
  if (name == 'value') {
    return value;
  }
  throw Exception(
      name + ' is not recognized as a property of object ' + this.toString());
}