$RemarketingListShare.fromJson constructor Null safety

$RemarketingListShare.fromJson(
  1. Map _json
)

Implementation

$RemarketingListShare.fromJson(core.Map _json)
    : this(
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        remarketingListId: _json.containsKey('remarketingListId')
            ? _json['remarketingListId'] as core.String
            : null,
        sharedAccountIds: _json.containsKey('sharedAccountIds')
            ? (_json['sharedAccountIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sharedAdvertiserIds: _json.containsKey('sharedAdvertiserIds')
            ? (_json['sharedAdvertiserIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );