mirror of
https://github.com/esiur/esiur-dart.git
synced 2026-04-04 02:08:21 +00:00
2.0.0
This commit is contained in:
15
lib/src/Data/IEnum.dart
Normal file
15
lib/src/Data/IEnum.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import '../Resource/Template/TemplateDescriber.dart';
|
||||
|
||||
class IEnum {
|
||||
int index = 0;
|
||||
dynamic value;
|
||||
String name = '';
|
||||
IEnum([this.index = 0, this.value, this.name = ""]);
|
||||
|
||||
TemplateDescriber get template => TemplateDescriber("IEnum");
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return '${name}<$value>';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user