startJourney method

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

Implementation

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

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