startDynamicJourney method

  1. @override
void startDynamicJourney(
  1. String journeyDefinitionId,
  2. String referenceNo,
  3. String locale,
  4. IDWiseSDKJourneyCallbacks journeyCallbacks,
  5. IDWiseSDKStepCallbacks stepCallbacks,
)
override

Implementation

@override
void startDynamicJourney(
    String journeyDefinitionId,
    String referenceNo,
    String locale,
    IDWiseSDKJourneyCallbacks journeyCallbacks,
    IDWiseSDKStepCallbacks stepCallbacks) {
  this.journeyCallbacks = journeyCallbacks;
  this.stepCallbacks = stepCallbacks;

  methodChannel.invokeMethod('startDynamicJourney', {
    "journeyDefinitionId": journeyDefinitionId,
    "referenceNo": referenceNo,
    "locale": locale
  });
}