EnumDefinition constructor

EnumDefinition({
  1. required String moduleAlias,
  2. required String fileName,
  3. required String sourceFileName,
  4. required String className,
  5. required EnumSerialization serialized,
  6. required List<ProtocolEnumValueDefinition> values,
  7. required bool serverOnly,
  8. required TypeDefinition type,
  9. List<String> subDirParts = const [],
  10. 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,
});