parseInt function

int parseInt(
  1. MetaObject context,
  2. int defaultvalue,
  3. TreeNode node,
  4. String property
)

Implementation

int parseInt(MetaObject context, int defaultvalue, TreeNode node,
    String property) {
  var r = parseObject(context, defaultvalue, node, property);
  if(r==null||r is! num) {
    return defaultvalue;
  }
  return r;
}