getDoubleBy method

double? getDoubleBy(
  1. List<String> ks, [
  2. String? fallbackKey
])
inherited

Implementation

double? getDoubleBy(List<String> ks, [String? fallbackKey]) {
  for (var key in ks) {
    var value = getDouble(key);
    if (value != null) return value;
  }
  if (fallbackKey != null) return getDouble(fallbackKey);
  return null;
}