addFlagSourceMaps method

void addFlagSourceMaps({
  1. bool defaultsTo = false,
})

Implementation

void addFlagSourceMaps({bool defaultsTo = false}) {
  addFlag(
    'source-maps',
    help:
        'Generate a sourcemap file. These can be used by browsers to view and debug the original source code of a compiled and minified Dart application.',
    defaultsTo: defaultsTo,
  );
}