ShippingsettingsCustomBatchResponseEntry.fromJson constructor

ShippingsettingsCustomBatchResponseEntry.fromJson(
  1. Map json_
)

Implementation

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