isNumeric property

bool get isNumeric

Implementation

bool get isNumeric => this != null && double.tryParse(this!.trim()) != null;