getOptionTarget method

String getOptionTarget()

Gets the target file path.

Returns the main entry-point file of the application.

Defaults to lib/main.dart.

Example:

final target = argResults.getOptionTarget();

Implementation

String getOptionTarget() => this?['target'] ?? 'lib/main.dart';