CreateControllerCommand class

This command is a controller with the template:

import 'package:get/get.dart';,

class NameController extends GetxController {

}
Inheritance

Constructors

CreateControllerCommand()

Properties

acceptedFlags → List<String>
no setterinherited
alias → List<String>
no setterinherited
args ↔ List<String>
all arguments
getter/setter pairinherited
childrens → List<Command>
childrens command
no setterinherited
codeSample → String
no setteroverride
commandName → String
no setteroverride
flags ↔ List<String>
all flags
getter/setter pairinherited
fromArgument → String
return parameter from
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
hint → String?
hint for command line
no setteroverride
maxParameters → int
no setteroverride
name → String
return parameter name
no setterinherited
onCommand → String
return parameter on
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
withArgument → String
return parameter with
no setterinherited

Methods

containsArg(String flag) → bool
return true if conatains flags
inherited
createController(String name, {String withArgument = '', String onCommand = ''}) → Future<void>
execute() → Future<void>
execute command
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate() → bool
validate command line arguments
override

Operators

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