Skip to content

Instantly share code, notes, and snippets.

Created August 16, 2021 18:50
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