Map<String, dynamic> toJson() => { "type": type, "stepsInfo": stepsInfo!.toJson(), "historyStepsInfo": historyStepsInfo!.toJson(), };