Skip to content

Instantly share code, notes, and snippets.

Created Aug 16, 2021
What would you like to do?
Mappings example
fun Todo.toEntity() = TodoEntity(
uuid, value, body, completed
fun TodoEntity.toDomain() = Todo(
value, body, completed, uuid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment