WorkflowTransitionRulesUpdateErrors.fromJson constructor

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

Implementation

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