EnumDefinition constructor
EnumDefinition({
- required String moduleAlias,
- required String fileName,
- required String sourceFileName,
- required String className,
- required EnumSerialization serialized,
- required List<
ProtocolEnumValueDefinition> values, - required bool serverOnly,
- required TypeDefinition type,
- List<
String> subDirParts = const [], - List<
String> ? documentation,
Create a new EnumDefinition.
Implementation
EnumDefinition({
required super.moduleAlias,
required super.fileName,
required super.sourceFileName,
required super.className,
required this.serialized,
required this.values,
required super.serverOnly,
required super.type,
super.subDirParts,
this.documentation,
});