userName method

String? userName()
inherited

Implementation

String? userName() {
  var member = AccessBloc.member(context);
  if (member == null) {
    return 'Not logged on';
  } else {
    return member.name;
  }
}