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