startDynamicJourney method

  1. @override
void startDynamicJourney(
  1. String journeyDefinitionId,
  2. String? referenceNo,
  3. String? locale,
  4. Map<String, String>? applicantDetails,
  5. IDWiseJourneyCallbacks journeyCallbacks,
  6. IDWiseStepCallbacks stepCallbacks,
)
override

Implementation

@override
void startDynamicJourney(
    String journeyDefinitionId,
    String? referenceNo,
    String? locale,
    Map<String, String>? applicantDetails,
    IDWiseJourneyCallbacks journeyCallbacks,
    IDWiseStepCallbacks stepCallbacks) {
  this.journeyCallbacks = journeyCallbacks;
  this.stepCallbacks = stepCallbacks;

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