parseOutputDECIMAL method

double? parseOutputDECIMAL(
  1. Object? value
)

Implementation

double? parseOutputDECIMAL(Object? value) {
  if (value == null) return null;
  if (value is double) return value;
  if (value is num) return value.toDouble();
  return double.parse('$value');
}