title: Execution failed for task ':share_plus:compileDebugKotlin'. Getting this compiling flutter app tried everything flutter clean etc nothing is working
body: <p>Note: Some input files use or override a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  Note: Some input files use unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  Note: C:\Users\Arslan\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\launch_review-3.0.1\android\src\main\java\com\iyaffle\launchreview\LaunchReviewPlugin.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  Note: C:\Users\Arslan\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_android-2.0.12\android\src\main\java\io\flutter\plugins\pathprovider\PathProviderPlugin.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  e: C:\Users\Arslan\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\share_plus-3.1.0\android\src\main\kotlin\dev\fluttercommunity\plus\share\MethodCallHandler.kt: (34, 24): Type mismatch: inferred type is String? but String was expected</p>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li>What went wrong:
  Execution failed for task ':share_plus:compileDebugKotlin'.</li>
  </ul>
  <blockquote>
  <p>Compilation error. See log for more details</p>
  </blockquote>
  <ul>
  <li><p>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.</p>
  </li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p>
  </li>
  </ul>
  <p>BUILD FAILED in 48s
  Exception: Gradle task assembleDebug failed with exit code 1</p>
  <p>Getting this compiling flutter app tried everything flutter clean etc nothing is working.</p>