toDouble method

double toDouble()

string 转 double

Implementation

double toDouble() {
  return double.parse(this);
}