callback method

Future<void> callback(
  1. LocationDto locationDto
)

Implementation

Future<void> callback(LocationDto locationDto) async {
  final SendPort? send = IsolateNameServer.lookupPortByName(isolateName);
  send?.send(locationDto);
}