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