CustomerJourneyState.fromMap constructor

CustomerJourneyState.fromMap(
  1. Map map
)

Implementation

factory CustomerJourneyState.fromMap(Map<dynamic, dynamic> map) {
  return CustomerJourneyState(
      map['former_subscriber'],
      map['in_grace_period'],
      map['in_trial_period'],
      map['in_intro_offer_period'],
      map['is_cancelled'],
      map['in_pause'],
      map['in_account_hold']);
}