currentCustomerJourneyState static method

Future<CustomerJourneyState?> currentCustomerJourneyState()

returns current customer's journey state

Implementation

static Future<CustomerJourneyState?> currentCustomerJourneyState() async {
  Map<dynamic, dynamic>? map =
      await channel.invokeMethod("currentCustomerJourneyState");
  if (map == null) {
    return null;
  }
  return CustomerJourneyState.fromMap(map);
}