journeyState static method

Future<CustomerJourneyState?> journeyState()

returns current customer's journey state

Implementation

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