tryParseOr0 static method

double tryParseOr0(
  1. dynamic value
)

Implementation

static double tryParseOr0(dynamic value) {
  return double.tryParse(value) ?? 0.0;
}