nativeCommunication function

  1. @JS()
Future nativeCommunication(
  1. String method,
  2. dynamic viewId, [
  3. List? args
])

Allows calling the assigned function from Dart as well.

Implementation

@JS()
external Future<dynamic> nativeCommunication(String method, dynamic viewId,
    [List? args]);