EventStartCondition.fromJson constructor

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

Implementation

factory EventStartCondition.fromJson(Map<String, dynamic> json) {
  return EventStartCondition(
    eventFilter: json['EventFilter'] != null
        ? EventFilter.fromJson(json['EventFilter'] as Map<String, dynamic>)
        : null,
    segmentId: json['SegmentId'] as String?,
  );
}