onReceiveData method

void onReceiveData(
  1. Object data
)

Called when data is sent using FlutterForegroundTask.sendDataToTask.

Implementation

void onReceiveData(Object data) {}