VisionHighlightCommand constructor Null safety

VisionHighlightCommand()

Implementation

VisionHighlightCommand() {
  argParser
    ..addOption('image-file',
        mandatory: true,
        valueHelp: 'image file path',
        help: 'The path to the file that will be processed.')
    ..addOption('output-file',
        mandatory: true,
        valueHelp: 'image file path',
        help:
            'The path to the image file that will display the detected objects highlighted')
    ..addOption('features',
        help:
            'Comma separated list of detections to be done on the image. See [https://cloud.google.com/vision/docs/reference/rest/v1/Feature#Type]')
    ..addOption('look-for',
        // mandatory: true,
        help: 'Comma separated list of Objects to provide a core for')
    ..addOption('max-results',
        defaultsTo: '10',
        valueHelp: 'int',
        help:
            'The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 10.');
}