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