$TagData.fromJson constructor Null safety

$TagData.fromJson(
  1. Map _json
)

Implementation

$TagData.fromJson(core.Map _json)
    : this(
        adId: _json.containsKey('adId') ? _json['adId'] as core.String : null,
        clickTag: _json.containsKey('clickTag')
            ? _json['clickTag'] as core.String
            : null,
        creativeId: _json.containsKey('creativeId')
            ? _json['creativeId'] as core.String
            : null,
        format: _json.containsKey('format')
            ? _json['format'] as core.String
            : null,
        impressionTag: _json.containsKey('impressionTag')
            ? _json['impressionTag'] as core.String
            : null,
      );