GroupCallParticipantVideoSourceGroup.deserialize constructor

GroupCallParticipantVideoSourceGroup.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory GroupCallParticipantVideoSourceGroup.deserialize(
    BinaryReader reader) {
  // Read [GroupCallParticipantVideoSourceGroup] fields.
  final semantics = reader.readString();
  final sources = reader.readVectorInt32();

  // Construct [GroupCallParticipantVideoSourceGroup] object.
  final returnValue = GroupCallParticipantVideoSourceGroup(
    semantics: semantics,
    sources: sources,
  );

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