MembershipEnhancedEnum extension

on

Properties

isBan bool
no setter
isInvite bool
no setter
isJoin bool
no setter
isKnock bool
no setter
isLeave bool
no setter
name String
no setter

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