StatsURL.deserialize constructor

StatsURL.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

  // Construct [StatsURL] object.
  final returnValue = StatsURL(
    url: url,
  );

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