UserEmpty.deserialize constructor

UserEmpty.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory UserEmpty.deserialize(BinaryReader reader) {
  // Read [UserEmpty] fields.
  final id = reader.readInt64();

  // Construct [UserEmpty] object.
  final returnValue = UserEmpty(
    id: id,
  );

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