findByNumber static method
Implementation
static DaysOfWeek? findByNumber(int n) {
return DaysOfWeek.values.where((e) => e.number == n).firstOrNull;
}
static DaysOfWeek? findByNumber(int n) {
return DaysOfWeek.values.where((e) => e.number == n).firstOrNull;
}