Mapper

fun fun interface Mapper<T : Any, V : Any>

An interface to convert data of type T into V.

Use this to map custom data types to a type that can be handled by a Fetcher.

Functions

map
Link copied to clipboard
abstract fun map(data: T, options: Options): V?
Convert data into V.