Immutable Entities And Object Models In Flutter Clean Architecture

The relationship between the domain API and the implementation as the data layer are implemented by an entity interface and often a data layer model. By making the underlying atomic units immutable, we can avoid concurrency headaches and get one step closer to clean architecture in flutter application implementations.