PhotoEmpty.deserialize constructor
PhotoEmpty.deserialize(
- 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;
}