CreateRoomPreset enum

Inheritance
Available extensions
Annotations
  • @_NameSource('rule override generated')

Values

privateChat → const CreateRoomPreset
const CreateRoomPreset('private_chat')
publicChat → const CreateRoomPreset
const CreateRoomPreset('public_chat')
trustedPrivateChat → const CreateRoomPreset
const CreateRoomPreset('trusted_private_chat')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isPrivateChat bool

Available on CreateRoomPreset, provided by the CreateRoomPresetEnhancedEnum extension

no setter
isPublicChat bool

Available on CreateRoomPreset, provided by the CreateRoomPresetEnhancedEnum extension

no setter
isTrustedPrivateChat bool

Available on CreateRoomPreset, provided by the CreateRoomPresetEnhancedEnum extension

no setter
name String
final
name String

Available on CreateRoomPreset, provided by the CreateRoomPresetEnhancedEnum extension

no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

maybeWhen<T>({T? privateChat()?, T? publicChat()?, T? trustedPrivateChat()?, required T orElse()}) → T

Available on CreateRoomPreset, provided by the CreateRoomPresetEnhancedEnum extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<T>({required T privateChat(), required T publicChat(), required T trustedPrivateChat()}) → T

Available on CreateRoomPreset, provided by the CreateRoomPresetEnhancedEnum extension

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<CreateRoomPreset>
A constant List of the values in this enum, in order of their declaration.