emitEvent static method
Implementation
static void emitEvent(channle, String method, String type, data) {
Map<String, dynamic> resMap = {};
resMap["type"] = type;
resMap["data"] = data;
channle.invokeMethod(method, resMap);
}
static void emitEvent(channle, String method, String type, data) {
Map<String, dynamic> resMap = {};
resMap["type"] = type;
resMap["data"] = data;
channle.invokeMethod(method, resMap);
}