AccountUpdateDeviceLocked.deserialize constructor
AccountUpdateDeviceLocked.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory AccountUpdateDeviceLocked.deserialize(BinaryReader reader) {
// Read [AccountUpdateDeviceLocked] fields.
final period = reader.readInt32();
// Construct [AccountUpdateDeviceLocked] object.
final returnValue = AccountUpdateDeviceLocked(
period: period,
);
// Now return the deserialized [AccountUpdateDeviceLocked].
return returnValue;
}