getIntBy method

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

Implementation

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