toJson property

Map<String, String> get toJson

Implementation

Map<String, String> get toJson => {
      PerceptFCM.attribution.asString: pnAttribution.name,
      PerceptFCM.isPnAttributed.asString: isPnAttributed.toString(),
      PerceptFCM.campaignId.asString: campaignId ?? "",
      PerceptFCM.campaignName.asString: campaignName ?? "",
      PerceptFCM.campaignSource.asString: campaignSource ?? ""
    };