getNameAndProfileDetails static method

Future<Tuple2<String, ProfileDetails>> getNameAndProfileDetails(
  1. String jid
)

Implementation

static Future<Tuple2<String, ProfileDetails>> getNameAndProfileDetails(
    String jid) async {
  var profileDetails = await getProfileDetails(jid);
  var name = profileDetails.getName();
  return Tuple2(name, profileDetails);
}