MembershipEnhancedEnum extension
Methods
-
maybeWhen<T>({T? ban()?, T? invite()?, T? join()?, T? knock()?, T? leave()?, required T orElse()})
→ T
-
-
when<T>({required T ban(), required T invite(), required T join(), required T knock(), required T leave()})
→ T
-