toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final batchId = this.batchId;
  final errors = this.errors;
  final inventory = this.inventory;
  final kind = this.kind;
  final sale = this.sale;
  final store = this.store;
  return {
    'batchId': ?batchId,
    'errors': ?errors,
    'inventory': ?inventory,
    'kind': ?kind,
    'sale': ?sale,
    'store': ?store,
  };
}