PhotoStrippedSize.deserialize constructor
PhotoStrippedSize.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PhotoStrippedSize.deserialize(BinaryReader reader) {
// Read [PhotoStrippedSize] fields.
final type = reader.readString();
final bytes = reader.readBytes();
// Construct [PhotoStrippedSize] object.
final returnValue = PhotoStrippedSize(
type: type,
bytes: bytes,
);
// Now return the deserialized [PhotoStrippedSize].
return returnValue;
}