SettingsResponse

@Immutable
data class SettingsResponse(key: String, value: String)

Response for SettingsModel

Author

Vitaliy Zarubin

Constructors

SettingsResponse
Link copied to clipboard
fun SettingsResponse(key: String, value: String)

Properties

key
Link copied to clipboard
val key: String

key from api

value
Link copied to clipboard
val value: String

string data

Extensions

toModel
Link copied to clipboard
fun SettingsResponse.toModel(): SettingsModel

Extension for response SettingsResponse