copyWith method

PresenceChannelState copyWith({
  1. ChannelStatus? status,
  2. int? subscriptionCount,
  3. ChannelMembers? members,
})

Implementation

PresenceChannelState copyWith({
  ChannelStatus? status,
  int? subscriptionCount,
  ChannelMembers? members,
}) =>
    PresenceChannelState._(
      members: members ?? this.members,
      status: status ?? this.status,
      subscriptionCount: subscriptionCount ?? this.subscriptionCount,
    );