ProductsCustomBatchResponseEntry.fromJson constructor

ProductsCustomBatchResponseEntry.fromJson(
  1. Map json_
)

Implementation

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