0

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
            }
Richard Heap
  • 48,344
  • 9
  • 130
  • 112

0 Answers0