flutterで使用しているプラグインのバージョンをどんどん上げていったらこんなエラーメッセージが出てビルドできなくなりました。
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
今回はこのエラーの対象方法です。
対処方法
プロジェクトレベルのbuild.gradleを開きます。

Kotlinのバージョンが、現状1.3.50なのですがこれを1.5.0に書き換えます

↓

これで無事ビルドが通るようになりました。