WorkflowTransitionRulesDetails.fromJson constructor

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

Implementation

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