setEventChannel method

Future<void> setEventChannel(
  1. bool isOpen
)

TradplusSDK 开启Event通道回调 防止fcm

Implementation

Future<void> setEventChannel(bool isOpen) async {
  Map arguments = {};
  arguments['isOpen'] = isOpen;
  TradplusSdk.channel.invokeMethod('tp_setEventChannel', arguments);
}