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