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