I'm trying to use a method provided by a third-party package in Flutter platform channe;.
So this is the Kotlin method
public final var logD: ((String?, String?, Int, String?) → Unit)?
Flutter MainActivity.kt
if (call.method == "getLogs") {
//here i want to call the above method
}