toDouble method

double? toDouble(
  1. dynamic value
)

Implementation

double? toDouble(dynamic value) {
  return double.tryParse('$value');
}