DatafeedsCustomBatchResponseEntry.fromJson constructor

DatafeedsCustomBatchResponseEntry.fromJson(
  1. Map json_
)

Implementation

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