ProductstatusesCustomBatchResponseEntry.fromJson constructor

ProductstatusesCustomBatchResponseEntry.fromJson(
  1. Map json_
)

Implementation

ProductstatusesCustomBatchResponseEntry.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,
        productStatus: json_.containsKey('productStatus')
            ? ProductStatus.fromJson(
                json_['productStatus'] as core.Map<core.String, core.dynamic>)
            : null,
      );