enum_type_to_value_list 0.0.1 enum_type_to_value_list: ^0.0.1 copied to clipboard
enum type to value list.
Reflection (MirrorSystem) を使っています. ご注意ください
enum A {
B,
C
}
to
[A.B, A.C]
Usage
EnumTypeToValueList<A>().valueList // [A.B, A.C]