Flutter/Dart: Subclass a freezed data class
Freezed doesn’t support inheritance at the moment so it’s recommended to use composition instead of inheritance as mentioned by the creator here:
https://github.com/rrousselGit/freezed/issues/464
And in the comments of the post.