void setCustomDoubleAttribute(double value, String key) { if (!_validateCustomAttributeKey(key, true)) { return; } customAttributes[key] = value; }