This takes in the string label for a given DashEvent and returns the enum for that string label.
static DashEvent? fromLabel(String label) => DashEvent.values.where((e) => e.label == label).firstOrNull;