package Ġcom . example . re union . re post ory . remote _ resource Ċ Ċ import Ġcom . example . re union . base . Base Remote Resource Ċ import Ġcom . example . re union . re post ory . bean . User Ċ import Ġcom . example . re union . re post ory . bean . V Code Ċ Ċ class ĠLogin Remote Model : Base Remote Resource () Ġ{ ĊĠĠĠ Ġsuspend Ġfun Ġon Phone Login ( phone : String , v Code : String ): User { ĊĠĠĠĠĠĠĠ Ġreturn Ġget Service Remote (). on Login ( phone , v Code ). await () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġon SendMessage ( phone : String ): V Code { ĊĠĠĠĠĠĠĠ Ġreturn Ġget Service Remote (). on SendMessage ( phone ). await () ĊĠĠĠ Ġ} Ċ }