updateProfile method

void updateProfile(
  1. String jid
)

Implementation

void updateProfile(String jid) {
  if (profile_.value.jid != null &&
      profile_.value.jid.toString() == jid.toString()) {
    getProfileDetails(jid).then((value) {
      debugPrint("get profile detail archived $value");
      profile_(value);
    });
  }
}