getReferrerFields method

Map<String, String> getReferrerFields()

Get stored referrer fields

Implementation

Map<String, String> getReferrerFields() {
  var referrer = 'notInitialized';
  try {
    referrer = DSPrefs.I.internal.getString(_referrerKey) ?? '';
    return Uri.splitQueryString(referrer);
  } catch (e, stack) {
    if (!_getFieldsError) {
      _getFieldsError = true;
      Fimber.e('$e: (referrer: $referrer)', stacktrace: stack);
    }
    return {};
  }
}