PhotoEmpty.deserialize constructor

PhotoEmpty.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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