convertTo function

dynamic convertTo(
  1. dynamic key,
  2. dynamic jsObject
)

Implementation

convertTo(key, jsObject) {
  return js.getProperty(jsObject, key);
}