TextMath.deserialize constructor

TextMath.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

  // Construct [TextMath] object.
  final returnValue = TextMath(source: source);

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