NotifyCommunity.deserialize constructor

NotifyCommunity.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory NotifyCommunity.deserialize(BinaryReader reader) {
  // Read [NotifyCommunity] fields.
  final communityId = reader.readInt64();

  // Construct [NotifyCommunity] object.
  final returnValue = NotifyCommunity(communityId: communityId);

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