toJson method
Implementation
@override
Object toJson(AGptRunStepDetail object) {
if(object is GptRunMessageCreationStepDetail) {
return object.toJson();
}
if(object is GptRunToolCallsStepDetail) {
return object.toJson();
}
throw UnimplementedError();
}