copy

fun copy(id: String = this.id, refreshToken: String? = this.refreshToken, deviceSecret: String? = this.deviceSecret): TokenData

Creates a copy with optionally replaced fields.