createMessageRepository

abstract fun createMessageRepository(getUser: suspend (userId: String) -> User): MessageRepository

Creates MessageRepository

Parameters

getUser

function that provides userId.