DatafeedsCustomBatchRequestEntry.fromJson constructor

DatafeedsCustomBatchRequestEntry.fromJson(
  1. Map json_
)

Implementation

DatafeedsCustomBatchRequestEntry.fromJson(core.Map json_)
    : this(
        batchId: json_.containsKey('batchId')
            ? json_['batchId'] as core.int
            : null,
        datafeed: json_.containsKey('datafeed')
            ? Datafeed.fromJson(
                json_['datafeed'] as core.Map<core.String, core.dynamic>)
            : null,
        datafeedId: json_.containsKey('datafeedId')
            ? json_['datafeedId'] as core.String
            : null,
        merchantId: json_.containsKey('merchantId')
            ? json_['merchantId'] as core.String
            : null,
        method: json_.containsKey('method')
            ? json_['method'] as core.String
            : null,
      );