sendPayload method
Implementation
void sendPayload(String event, Map<String, dynamic> payload, String channel, String type) {
final sendChannel = _getChannelWithKey(type);
sendChannel?.push(event: event, payload: payload)?.receive("ok", (response) {
Log().info("sendPayload response = $response event = $event, payload = $payload");
});
}