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