Is it possible to create enum with arguments. For example in Kotlin I can do something like this:
enum class TestType(val testText: String, val number: Int) {
STATIC("", 0),
DYNAMIC("", 1)
}
And each enum item contains testText and number. Is it possible to implement this in the Dart programming language. Please help me.