core.Map<core.String, core.dynamic> toJson() => { if (outputNum != null) 'outputNum': outputNum!, if (producerInstructionIndex != null) 'producerInstructionIndex': producerInstructionIndex!, };