isDouble property

bool get isDouble

True if the entire string is a valid double.

Implementation

bool get isDouble => double.tryParse(trim()) != null;