GGanesh Rama Hegde·Nov 9, 2025Chapter 20 - Coding the Domain layer for InsertArtUseCase and DeleteArtUseCaseLet us update the ArtUseCases class. data class ArtUseCases( val getArtUseCase: GetArtUseCase, val searchImageUseCase: SearchImageUseCase, val insertArtUseCase: InsertArtUseCase, val deleteArtUseCase:DeleteArtUseCase ) We will now cod...1 min read·androidavatar.hashnode.dev
GGanesh Rama Hegde·Oct 28, 2025Chapter 6 - Coding the first Use case (Data layer)We coded the domain layer classes in the earlier chapter. Now we need to write the classes of data layer so that the use case becomes more meaningful in nature. The GetArtUseCase will fetch the list of Art objects from the local Room database. This i...6 min read·androidavatar.hashnode.dev
AAditya Das·Feb 24, 2025Understanding Different Types of Classes in Kotlin with Real-World ExamplesLearn everything about Kotlin classes—normal, data, singleton, enum, sealed, and more! Explore real-world analogies, code examples, and key differences.5 min read·codingandlearning.hashnode.dev
AAbu Precious O.·Oct 11, 2024Introduction to Data classes in PythonIntroduction Data classes in Python provide a powerful and concise way to define classes that are primarily used to store data. They reduce boilerplate code, improve readability, and integrate well with Python's type hinting. By understanding and uti...6 min read·btere.hashnode.dev
DDonghan Kim·Nov 12, 2023[Flutter] Freezed 패키지를 활용한 data class 생성들어가며 Flutter를 가지고 서버 통신 기능을 가진 앱을 개발을 하다보면 DTO(Data Transfer Object)를 정의해야할 일이 빈번하게 발생합니다. JSON을 받아와서 데이터 클래스로 바꾸기 위해서 factory를 선언하고, toString()을 만들어주는 등, 이것저것 해야할 일이 많기도 하고 반복적으로 발생하는 일이기도 합니다. 특히나 Union타입을 사용해야하는 경우에는 직접 관련된 로직을 구현해야해서 골치가 아프기도 하죠....4 min read·blog.skku-comit.dev
JJemish Mavani·Jul 12, 2023Smooth Data Modeling with 'Freezed'With Freezed, you can effortlessly generate concise data classes, eliminating repetitive code and enhancing stability. Plus, Freezed empowers you to handle4 min read·james54.hashnode.dev