RegionalinventoryCustomBatchResponseEntry.fromJson constructor

RegionalinventoryCustomBatchResponseEntry.fromJson(
  1. Map json_
)

Implementation

RegionalinventoryCustomBatchResponseEntry.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,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        regionalInventory: json_.containsKey('regionalInventory')
            ? RegionalInventory.fromJson(json_['regionalInventory']
                as core.Map<core.String, core.dynamic>)
            : null,
      );