ScheduledEntityType.parse constructor
- int value
Parse a ScheduledEntityType from an int.
The value
must be a valid scheduled entity type.
Implementation
factory ScheduledEntityType.parse(int value) => ScheduledEntityType.values.firstWhere(
(type) => type.value == value,
orElse: () => throw FormatException('Unknown scheduled entity type', value),
);