PushRuleKind enum

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

Values

content → const PushRuleKind
const PushRuleKind('content')
override → const PushRuleKind
const PushRuleKind('override')
room → const PushRuleKind
const PushRuleKind('room')
sender → const PushRuleKind
const PushRuleKind('sender')
underride → const PushRuleKind
const PushRuleKind('underride')

Properties

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

Available on PushRuleKind, provided by the PushRuleKindEnhancedEnum extension

no setter
isOverride bool

Available on PushRuleKind, provided by the PushRuleKindEnhancedEnum extension

no setter
isRoom bool

Available on PushRuleKind, provided by the PushRuleKindEnhancedEnum extension

no setter
isSender bool

Available on PushRuleKind, provided by the PushRuleKindEnhancedEnum extension

no setter
isUnderride bool

Available on PushRuleKind, provided by the PushRuleKindEnhancedEnum extension

no setter
name String
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
name String

Available on PushRuleKind, provided by the PushRuleKindEnhancedEnum extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

maybeWhen<T>({T? content()?, T? override()?, T? room()?, T? sender()?, T? underride()?, required T orElse()}) → T

Available on PushRuleKind, provided by the PushRuleKindEnhancedEnum 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 content(), required T override(), required T room(), required T sender(), required T underride()}) → T

Available on PushRuleKind, provided by the PushRuleKindEnhancedEnum extension

Operators

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

Constants

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