Things that come from my API. 1 thing is nullable,...
# codingconventions
m
Things that come from my API. 1 thing is nullable, cause it can be.
Copy code
data class SomeDto(
        val context: String,
        val type: List<String>,
        val claim: Claim,
        val credits: List<Credit>,
        val signature: Signature
)
data class Claim(val target: String, val labels: List<String>?)
data class Credit(val type: String, val value: String)
data class Signature(val type: String, val creator: String, val signatureValue: String)