UpdateDcOptions.deserialize constructor

UpdateDcOptions.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory UpdateDcOptions.deserialize(BinaryReader reader) {
  // Read [UpdateDcOptions] fields.
  final dcOptions = reader.readVectorObject<DcOptionBase>();

  // Construct [UpdateDcOptions] object.
  final returnValue = UpdateDcOptions(
    dcOptions: dcOptions,
  );

  // Now return the deserialized [UpdateDcOptions].
  return returnValue;
}