MultiConditionalBranch.fromJson constructor

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

Implementation

factory MultiConditionalBranch.fromJson(Map<String, dynamic> json) {
  return MultiConditionalBranch(
    condition: json['Condition'] != null
        ? SimpleCondition.fromJson(json['Condition'] as Map<String, dynamic>)
        : null,
    nextActivity: json['NextActivity'] as String?,
  );
}