setCustomKVHandler static method

void setCustomKVHandler(
  1. FutureOr<void> handler(
    1. Map<String, String> payload
    )?
)

Replaces the runtime Custom KV handler. Pass null to remove it.

Implementation

static void setCustomKVHandler(
  FutureOr<void> Function(Map<String, String> payload)? handler,
) {
  DigiaInstance.instance.setCustomKVHandler(handler);
}