addFlagCodesign method

void addFlagCodesign({
  1. bool defaultsTo = true,
})

Adds a codesign flag for application bundle signing.

Codesign the application bundle (only available on device builds).

Defaults to true.

Example:

argParser.addFlagCodesign(defaultsTo: false);

Implementation

void addFlagCodesign({bool defaultsTo = true}) {
  addFlag(
    'codesign',
    help:
        'Codesign the application bundle (only available on device builds).',
    defaultsTo: defaultsTo,
  );
}