ChannelAdminLogEventActionToggleGroupCallSetting.deserialize constructor

ChannelAdminLogEventActionToggleGroupCallSetting.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory ChannelAdminLogEventActionToggleGroupCallSetting.deserialize(
    BinaryReader reader) {
  // Read [ChannelAdminLogEventActionToggleGroupCallSetting] fields.
  final joinMuted = reader.readBool();

  // Construct [ChannelAdminLogEventActionToggleGroupCallSetting] object.
  final returnValue = ChannelAdminLogEventActionToggleGroupCallSetting(
    joinMuted: joinMuted,
  );

  // Now return the deserialized [ChannelAdminLogEventActionToggleGroupCallSetting].
  return returnValue;
}