actorName function

String actorName(
  1. ProfileViewBasic actor
)

Implementation

String actorName(ProfileViewBasic actor) {
  String? name = actor.displayName;
  name ??= withoutDomain(actor.handle);
  return name;
}