Is there an easy way to identify methods marked as async that do not perform any await calls?
12:45 20 Aug 2026

I want to locate and remove the Future and async declarations for all the Dart functions/methods in my app that do not actually perform any asynchronous tasks. I had hoped there was a linter for this, but I couldn't find one.

unnecessary_async sounds like it should do this, but a method like this does not get flagged (which is what I am looking for):

Future todaysDate() async {
  return DateTime.now().toString();
}

Is there any easy way to quickly identify all such methods? Thanks.

flutter dart linter