setCleverTapPushAmpPayloadReceivedHandler method Null safety

void setCleverTapPushAmpPayloadReceivedHandler(
  1. CleverTapPushAmpPayloadReceivedHandler handler
)

Define a method to handle Push Amplification payload

Implementation

void setCleverTapPushAmpPayloadReceivedHandler(
        CleverTapPushAmpPayloadReceivedHandler handler) =>
    cleverTapPushAmpPayloadReceivedHandler = handler;