parse static method

dynamic parse(
  1. dynamic v
)

Implementation

static parse(dynamic v) {
  if (v is int) return v.toDouble();

  return v;
}