InitCommand class

CLI subcommand that injects REST API initialization code into a Flutter app

Typical Usage

flutterx init flutterx init --file lib/main.dart flutterx init -f lib/app.dart

Constructors

InitCommand()

Properties

argParser → ArgParser
Returns the argument parser for this command.
no setter
hashCode int
The hash code for this object.
no setterinherited
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
run(ArgResults results) Future<void>
Executes the command with the parsed results.
toString() String
A string representation of this object.
inherited

Operators

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