onContactAdded method Null safety

void onContactAdded(
  1. String userName
)

Occurs when user is added as a contact by another user.

Param userName The new contact to be added.

Implementation

void onContactAdded(String userName);