analyze method

Future<void> analyze({
  1. String target = 'lib',
})

Analyzes the specified target.

Defaults to the lib directory.

Implementation

Future<void> analyze({String target = 'lib'}) async {
  await runDart(['analyze', target]);
}