name property

  1. @override
String get name

Implementation

@override
// ignore: override_on_non_overriding_member
String get name => {
      Membership.ban: 'ban',
      Membership.invite: 'invite',
      Membership.join: 'join',
      Membership.knock: 'knock',
      Membership.leave: 'leave',
    }[this]!;