flutterTest method

Future<int> flutterTest([
  1. String? path
])

Run flutter test

Implementation

Future<int> flutterTest([String? path]) async {
  final target = path != null ? ' $path' : '';
  return await runProcess('flutter test$target', runInShell: true);
}