getFromUser method
Implementation
Future<NIMUser?> getFromUser() async {
if (fromAccount == null) {
return null;
} else {
var userResult =
await NimCore.instance.userService.getUserInfo(fromAccount!);
return userResult.data;
}
}