WorkflowTransitionRulesUpdate.fromJson constructor

WorkflowTransitionRulesUpdate.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory WorkflowTransitionRulesUpdate.fromJson(Map<String, Object?> json) {
  return WorkflowTransitionRulesUpdate(
    workflows: (json[r'workflows'] as List<Object?>?)
            ?.map((i) => WorkflowTransitionRules.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}