startJourney method

  1. @override
void startJourney(
  1. String journeyDefinitionId,
  2. String referenceNo,
  3. String locale,
  4. IDWiseSDKJourneyCallbacks journeyCallbacks,
)
override

Implementation

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

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