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,
      );