SegmentBehaviors.fromJson constructor

SegmentBehaviors.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SegmentBehaviors.fromJson(Map<String, dynamic> json) {
  return SegmentBehaviors(
    recency: json['Recency'] != null
        ? RecencyDimension.fromJson(json['Recency'] as Map<String, dynamic>)
        : null,
  );
}