How to call this.superClassMethod on Kotlin?
I have the following code:
class MainActivity: FlutterActivity() {
companion object {
private val STREAM: String = "com.example.my_app/stream";
private lateinit var EVENT_CHANNEL: EventChannel
init {
EVENT_CHANNEL = EventChannel(this.getFlutterEngine().getDartExecutor().getBinaryMessenger(), STREAM)
but I get Unresolved reference: getFlutterEngine, but the method exists: <a...