HelpAppConfig.deserialize constructor

HelpAppConfig.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory HelpAppConfig.deserialize(BinaryReader reader) {
  // Read [HelpAppConfig] fields.
  final hash = reader.readInt32();
  final config = reader.readObject() as JSONValueBase;

  // Construct [HelpAppConfig] object.
  final returnValue = HelpAppConfig(
    hash: hash,
    config: config,
  );

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