toJson method

Map<String, dynamic> toJson()

Implementation

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