Categories
Dart Programming

Dart – How to loop an enum

Dart provides .values to get list of values in an enum. Since it is a list, we can use any method of List data type.