toDouble property

double? get toDouble

Returns the double value of this string.

Example: '123.45'.toDouble -> 123.45.

Implementation

double? get toDouble => double.tryParse(this);