Execution failed for task ':app:processDebugGoogleServices'

So I get the following error when running my flutter app:

 FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> com.google.gson.stream.MalformedJsonException: Expected ':' at line 11 column 10 path $.client[0].client_info.<<<<<<<

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Exception: Gradle task assembleDebug failed with exit code 1

After I added apply plugin: 'com.google.gms.google-services' in android/app/build.gradle
And I need this line because if I don’t have it I get error from firebase package

Any help on how I can fix this?