getIdentifyPayload method
Only includes keys that were explicitly set; value may be null (absent).
Implementation
Map<String, dynamic> getIdentifyPayload() {
final payload = <String, dynamic>{};
if (_userId != null) payload['userId'] = _userId!.valueOrNull;
if (_email != null) payload['email'] = _email!.valueOrNull;
if (_msisdn != null) payload['msisdn'] = _msisdn!.valueOrNull;
if (_whatsAppNumber != null) payload['wpNumber'] = _whatsAppNumber!.valueOrNull;
return payload;
}