AiComposeToneExample.deserialize constructor
AiComposeToneExample.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory AiComposeToneExample.deserialize(BinaryReader reader) {
// Read [AiComposeToneExample] fields.
final from = reader.readObject() as TextWithEntitiesBase;
final to = reader.readObject() as TextWithEntitiesBase;
// Construct [AiComposeToneExample] object.
final returnValue = AiComposeToneExample(from: from, to: to);
// Now return the deserialized [AiComposeToneExample].
return returnValue;
}