parseDouble function

double parseDouble(
  1. MetaObject context,
  2. double defaultvalue,
  3. TreeNode node,
  4. String property
)

Implementation

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