PublicChannelState class

A data class implementing ChannelState and representing a state of an instance of PublicChannel.

Implemented types
Annotations
  • @immutable

Constructors

PublicChannelState({required ChannelStatus status, required int? subscriptionCount})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ChannelStatus
See ChannelStatus for more details.
final
subscriptionCount int?
Subscriptions count of an instance of Channel
final

Methods

copyWith({ChannelStatus? status, int? subscriptionCount}) PublicChannelState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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