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