BulkEditNegativeKeywordsRequest.fromJson constructor

BulkEditNegativeKeywordsRequest.fromJson(
  1. Map json_
)

Implementation

BulkEditNegativeKeywordsRequest.fromJson(core.Map json_)
    : this(
        createdNegativeKeywords: json_.containsKey('createdNegativeKeywords')
            ? (json_['createdNegativeKeywords'] as core.List)
                .map((value) => NegativeKeyword.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        deletedNegativeKeywords: json_.containsKey('deletedNegativeKeywords')
            ? (json_['deletedNegativeKeywords'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );