WorkflowTransition.fromJson constructor

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

Implementation

factory WorkflowTransition.fromJson(Map<String, Object?> json) {
  return WorkflowTransition(
    id: (json[r'id'] as num?)?.toInt() ?? 0,
    name: json[r'name'] as String? ?? '',
  );
}