Set a custom key/value on the event where the type of the value is a number.
void setCustomNumberValue(String key, num value) { if (key.isNotEmpty) { _eventData[key] = value; } }