Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CowDto(val name: String, val age: Int, val likesGrass: Boolean, val hasHorns: Boolean, val mooSample: String, val someValueFromRequest: String)
Link copied to clipboard
sealed class DataResult<out T, out E>
Link copied to clipboard
@Serializable
data class GetCowRequestDto(val valueInTheRequest: String)
Link copied to clipboard
Link copied to clipboard
class MainViewModel(repository: Repository, setReleaseMode: (isRelease: Boolean) -> Unit) : ViewModel
Link copied to clipboard
Link copied to clipboard
class Repository(baseUrl: String, tokenProvider: MockzillaTokenProvider)

Functions

Link copied to clipboard
fun MainContent(state: MainViewModel.State, setRequestText: (request: String) -> Unit, makeRequest: (someValue: String) -> Unit, setIsReleaseMode: (isRelease: Boolean) -> Unit)
Link copied to clipboard
fun startMockServer(context: Context, isRelease: Boolean): <Error class: unknown class>