PhotoCachedSize023.deserialize constructor
PhotoCachedSize023.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PhotoCachedSize023.deserialize(BinaryReader reader) {
// Read [PhotoCachedSize023] fields.
final type = reader.readString();
final location = reader.readObject() as FileLocationBase;
final w = reader.readInt32();
final h = reader.readInt32();
final bytes = reader.readBytes();
// Construct [PhotoCachedSize023] object.
final returnValue = PhotoCachedSize023(
type: type,
location: location,
w: w,
h: h,
bytes: bytes,
);
// Now return the deserialized [PhotoCachedSize023].
return returnValue;
}