userGroup method

String userGroup()
inherited

Implementation

String userGroup() {
  var member = AccessBloc.member(context);
  if (AccessBloc.isOwner(context, app)) return 'Owner';
  if (member != null) {
    return 'Member';
  } else {
    return 'Guest';
  }
}