TaskStatusUpdate.fromJson constructor

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

Implementation

factory TaskStatusUpdate.fromJson(Map<String, Object?> json) {
  return TaskStatusUpdate(
    status:
        TaskStatusUpdateStatus.fromValue(json[r'status'] as String? ?? ''),
  );
}