optionalDouble static method

double? optionalDouble(
  1. String? value
)

Implementation

static double? optionalDouble(String? value) =>
    value != null ? double.parse(value) : null;