onEvent abstract method

Future onEvent(
  1. String method,
  2. dynamic arguments
)

Implementation

Future<dynamic> onEvent(String method, dynamic arguments);