addFlagProfile method
Adds a profile flag for performance profiling builds.
Builds a version of your app specialized for performance profiling.
Defaults to false.
Example:
argParser.addFlagProfile(defaultsTo: true);
Implementation
void addFlagProfile({bool defaultsTo = false}) {
addFlag(
'profile',
help:
'Build a version of your app specialized for performance profiling.',
defaultsTo: defaultsTo,
negatable: false,
);
}