BotsExportedBotToken.deserialize constructor

BotsExportedBotToken.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory BotsExportedBotToken.deserialize(BinaryReader reader) {
  // Read [BotsExportedBotToken] fields.
  final token = reader.readString();

  // Construct [BotsExportedBotToken] object.
  final returnValue = BotsExportedBotToken(token: token);

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