ConditionalSplitActivity.fromJson constructor

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

Implementation

factory ConditionalSplitActivity.fromJson(Map<String, dynamic> json) {
  return ConditionalSplitActivity(
    condition: json['Condition'] != null
        ? Condition.fromJson(json['Condition'] as Map<String, dynamic>)
        : null,
    evaluationWaitTime: json['EvaluationWaitTime'] != null
        ? WaitTime.fromJson(
            json['EvaluationWaitTime'] as Map<String, dynamic>)
        : null,
    falseActivity: json['FalseActivity'] as String?,
    trueActivity: json['TrueActivity'] as String?,
  );
}