AccountUpdateDeviceLocked.deserialize constructor

AccountUpdateDeviceLocked.deserialize(
  1. 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;
}