CommunityMemberStatusAdministrator class

The user is a member of the community and has some additional privileges

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

CommunityMemberStatusAdministrator({required bool canBeEdited, required CommunityAdministratorRights rights})
const

Properties

canBeEdited → bool
canBeEdited True, if the current user can edit the administrator privileges for the called user
final
hashCode → int
The hash code for this object.
no setteroverride
rights → CommunityAdministratorRights
rights Rights of the administrator
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? canBeEdited, CommunityAdministratorRights? rights}) → CommunityMemberStatusAdministrator

Available on CommunityMemberStatusAdministrator, provided by the CommunityMemberStatusAdministratorExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult creator(CommunityMemberStatusCreator value), required TResult administrator(CommunityMemberStatusAdministrator value), required TResult member(CommunityMemberStatusMember value), required TResult left(CommunityMemberStatusLeft value), required TResult banned(CommunityMemberStatusBanned value)}) → TResult

Available on CommunityMemberStatus, provided by the CommunityMemberStatusExtensions extension

maybeMap<TResult extends Object?>({TResult creator(CommunityMemberStatusCreator value)?, TResult administrator(CommunityMemberStatusAdministrator value)?, TResult member(CommunityMemberStatusMember value)?, TResult left(CommunityMemberStatusLeft value)?, TResult banned(CommunityMemberStatusBanned value)?, required TResult orElse()}) → TResult

Available on CommunityMemberStatus, provided by the CommunityMemberStatusExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String