SimpleMapperRepo

class SimpleMapperRepo<FromKey, FromValue, ToKey, ToValue>(keyFromToTo: suspend FromKey.() -> ToKey, valueFromToTo: suspend FromValue.() -> ToValue, keyToToFrom: suspend ToKey.() -> FromKey, valueToToFrom: suspend ToValue.() -> FromValue) : MapperRepo<FromKey, FromValue, ToKey, ToValue>

Constructors

Link copied to clipboard
constructor(keyFromToTo: suspend FromKey.() -> ToKey, valueFromToTo: suspend FromValue.() -> ToValue, keyToToFrom: suspend ToKey.() -> FromKey, valueToToFrom: suspend ToValue.() -> FromValue)

Functions

Link copied to clipboard
open suspend override fun ToKey.toInnerKey(): FromKey
Link copied to clipboard
open suspend override fun ToValue.toInnerValue(): FromValue
Link copied to clipboard
open suspend override fun FromKey.toOutKey(): ToKey
Link copied to clipboard
open suspend override fun FromValue.toOutValue(): ToValue

Properties

Link copied to clipboard
Link copied to clipboard