UserStatusRecently.deserialize constructor

UserStatusRecently.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory UserStatusRecently.deserialize(BinaryReader reader) {
  // Read [UserStatusRecently] fields.
  final flags = reader.readInt32();
  final byMe = (flags & 1) != 0;

  // Construct [UserStatusRecently] object.
  final returnValue = UserStatusRecently(byMe: byMe);

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