package Ġfr . bu x . rolling dashboard Ċ Ċ import Ġandroidx . annotation . Worker Thread Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ class ĠAccount Configuration Repository ( private Ġval Ġaccount Configuration Dao : ĠAccount Configuration Dao ) Ġ{ ĊĠĠĠ Ġval Ġaccount Configuration : ĠFlow < Account Configuration ?> Ġ= Ġaccount Configuration Dao . flow () ĊĊĠĠĠ Ġ@ Suppress (" Red undant Suspend Modifier ") ĊĠĠĠ Ġ@ Worker Thread ĊĠĠĠ Ġsuspend Ġfun Ġupdate ( account _ configuration : ĠAccount Configuration ) Ġ{ ĊĠĠĠĠĠĠĠ Ġaccount Configuration Dao . clear () ĊĠĠĠĠĠĠĠ Ġaccount Configuration Dao . insert ( account _ configuration ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Suppress (" Red undant Suspend Modifier ") ĊĠĠĠ Ġ@ Worker Thread ĊĠĠĠ Ġsuspend Ġfun Ġget () Ġ: ĠAccount Configuration ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġaccount Configuration Dao . get () ĊĠĠĠ Ġ} Ċ } Ċ