ProjectIdOption.nonMandatory constructor

const ProjectIdOption.nonMandatory({
  1. bool asFirstArg = false,
  2. OptionGroup? group,
})

Used for commands that interactively ask for the project ID if not already specified.

Implementation

const ProjectIdOption.nonMandatory({
  final bool asFirstArg = false,
  final OptionGroup? group,
}) : this._(
       asFirstArg: asFirstArg,
       mandatory: false,
       helpText: asFirstArg ? _helpTextFirstArg : _helpText,
       group: group,
     );