HelpGetPeerProfileColors.deserialize constructor

HelpGetPeerProfileColors.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory HelpGetPeerProfileColors.deserialize(BinaryReader reader) {
  // Read [HelpGetPeerProfileColors] fields.
  final hash = reader.readInt32();

  // Construct [HelpGetPeerProfileColors] object.
  final returnValue = HelpGetPeerProfileColors(
    hash: hash,
  );

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