PosCustomBatchResponseEntry.fromJson constructor
PosCustomBatchResponseEntry.fromJson(
- Map json_
Implementation
PosCustomBatchResponseEntry.fromJson(core.Map json_)
: this(
batchId: json_.containsKey('batchId')
? json_['batchId'] as core.int
: null,
errors: json_.containsKey('errors')
? Errors.fromJson(
json_['errors'] as core.Map<core.String, core.dynamic>)
: null,
inventory: json_.containsKey('inventory')
? PosInventory.fromJson(
json_['inventory'] as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
sale: json_.containsKey('sale')
? PosSale.fromJson(
json_['sale'] as core.Map<core.String, core.dynamic>)
: null,
store: json_.containsKey('store')
? PosStore.fromJson(
json_['store'] as core.Map<core.String, core.dynamic>)
: null,
);