validDouble method

bool validDouble(
  1. String key
)

Returns true if the key has a value which is a double. Empty or null value returns false.

Implementation

bool validDouble(String key) {
  final dynamic value = valueMap[key];
  return value != null && value is double;
}