hiddenState property Null safety

GroupChannelHiddenState hiddenState

Implementation

GroupChannelHiddenState get hiddenState {
  final auto = allowAutoUnhide;
  if (auto != null) {
    return auto
        ? GroupChannelHiddenState.allowAutoUnhide
        : GroupChannelHiddenState.preventAutoUnhide;
  } else {
    return GroupChannelHiddenState.unhidden;
  }
}