lovis
05/26/2017, 2:31 PMdata class EMail(var recipient: String, var subject: String?, var message: String?) {
fun quote(startIndex: Int) : String {
return "> ${message?.substring(startIndex)}"
}
}
(I know, this example doesn’t make much sense)
Then it’s technically not a POJO, but the equals, toString and copy are still really nice to have