Is there a better way to do this? I would like to avoid the pattern matching on the reads and writes methods of the Mammal companion object.Is there a better way to do this? I would like
Is there a better way to do this? I would like to avoid the pattern matching on the reads and writes methods of the Mammal companion object.Is there a better way to do this? I would like