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