WorkflowId.fromJson constructor

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

Implementation

factory WorkflowId.fromJson(Map<String, Object?> json) {
  return WorkflowId(
    draft: json[r'draft'] as bool? ?? false,
    name: json[r'name'] as String? ?? '',
  );
}