DataJSON.deserialize constructor
DataJSON.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory DataJSON.deserialize(BinaryReader reader) {
// Read [DataJSON] fields.
final data = reader.readString();
// Construct [DataJSON] object.
final returnValue = DataJSON(
data: data,
);
// Now return the deserialized [DataJSON].
return returnValue;
}