EnumModel class

Inheritance

Constructors

EnumModel.new({required String name, String? path, String? baseDirectory, List<EnumField>? fields, ItemType itemType = const StringType(), List<String>? extraImports, List<String>? extraAnnotations, bool generateMap = false, bool generateExtensions = false, String? description})

Properties

baseDirectory String?
finalinherited
description String?
finalinherited
extendsModel String?
finalinherited
extraAnnotations List<String>?
finalinherited
extraImports List<String>?
finalinherited
fields List<EnumField>?
final
fileName String
finalinherited
generateExtensions bool
final
generateMap bool
final
hashCode int
The hash code for this object.
no setterinherited
itemType ItemType
final
name String
finalinherited
path String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited