toDouble property

double toDouble

Converts the string into an double

Throws if the string is not an Double number.

Implementation

double get toDouble => double.parse(this);