UploadGetWebFile.deserialize constructor
UploadGetWebFile.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory UploadGetWebFile.deserialize(BinaryReader reader) {
// Read [UploadGetWebFile] fields.
final location = reader.readObject() as InputWebFileLocationBase;
final offset = reader.readInt32();
final limit = reader.readInt32();
// Construct [UploadGetWebFile] object.
final returnValue = UploadGetWebFile(
location: location,
offset: offset,
limit: limit,
);
// Now return the deserialized [UploadGetWebFile].
return returnValue;
}