PresenceType enum

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

Values

offline → const PresenceType
online → const PresenceType
unavailable → const PresenceType

Properties

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

Available on PresenceType, provided by the PresenceTypeEnhancedEnum extension

no setter
isOnline bool

Available on PresenceType, provided by the PresenceTypeEnhancedEnum extension

no setter
isUnavailable bool

Available on PresenceType, provided by the PresenceTypeEnhancedEnum extension

no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
name String

Available on PresenceType, provided by the PresenceTypeEnhancedEnum extension

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

Methods

maybeWhen<T>({T? offline()?, T? online()?, T? unavailable()?, required T orElse()}) → T

Available on PresenceType, provided by the PresenceTypeEnhancedEnum 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 offline(), required T online(), required T unavailable()}) → T

Available on PresenceType, provided by the PresenceTypeEnhancedEnum extension

Operators

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

Constants

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