getUserName method
Implementation
Future<String> getUserName({bool needAlias = true}) async {
return getIt<ContactProvider>().getContact(this).then((value) {
if (value != null) {
return value.getName(needAlias: needAlias);
} else {
return this;
}
});
}