getPayload static method

Future<void> getPayload({
  1. int? timeoutInMs,
  2. void onEventId(
    1. String eventId
    )?,
  3. void onResult(
    1. PayloadResponse response
    )?,
})

Implementation

static Future<void> getPayload({
  int? timeoutInMs,
  void Function(String eventId)? onEventId,
  void Function(PayloadResponse response)? onResult,
}) {
  return FlutterBureauDeviceIntelligencePlatform.instance.getPayload(
    timeoutInMs: timeoutInMs,
    onEventId: onEventId,
    onResult: onResult,
  );
}