GooglePlayAnalytics.fromJson constructor

GooglePlayAnalytics.fromJson(
  1. Map _json
)

Implementation

GooglePlayAnalytics.fromJson(core.Map _json)
    : this(
        gclid:
            _json.containsKey('gclid') ? _json['gclid'] as core.String : null,
        utmCampaign: _json.containsKey('utmCampaign')
            ? _json['utmCampaign'] as core.String
            : null,
        utmContent: _json.containsKey('utmContent')
            ? _json['utmContent'] as core.String
            : null,
        utmMedium: _json.containsKey('utmMedium')
            ? _json['utmMedium'] as core.String
            : null,
        utmSource: _json.containsKey('utmSource')
            ? _json['utmSource'] as core.String
            : null,
        utmTerm: _json.containsKey('utmTerm')
            ? _json['utmTerm'] as core.String
            : null,
      );