CreateModelCommand constructor
CreateModelCommand()
Implementation
CreateModelCommand() {
/// Add an option to specify the name of the model.
argParser
..addOption('name', abbr: 'n', help: 'Specify the name of the model.')
/// Add a flag to specify if the model should be JsonSerializable.
..addFlag(
'jsonSerializable',
abbr: 'j',
help: 'Generate code for Json Serialization',
negatable: false,
)
/// Add a flag to specify if the model should be Equatable.
..addFlag(
'equatable',
abbr: 'e',
help: 'Make the model equatable',
negatable: false,
);
}