getDoubleOrNull method

double? getDoubleOrNull(
  1. String key
)

Implementation

double? getDoubleOrNull(
  String key,
) {
  if (jsonObject.containsKey(key)) {
    return double.tryParse(jsonObject[key].toString());
  }
  return null;
}