tryParse method

double tryParse (
  1. String source
)
override

Parse source as an double literal and return its value.

Like parse except that this function returns null for invalid inputs instead of throwing, and the source must still not be null.

Implementation

external static double? tryParse(String source);