int getInt(String path, [int defaultValue = 0]) { return getIntOrNull(path, defaultValue) ?? defaultValue; }