How to use transient in kotlin