package com.aiosman.riderpro.data import com.aiosman.riderpro.test.TestDatabase data class AccountProfile( val id: Int, val followerCount: Int, val followingCount: Int, val nickName: String, val avatar: String, val bio: String, val country: String, ) interface AccountService { suspend fun getMyAccountProfile(): AccountProfile suspend fun getAccountProfileById(id: Int): AccountProfile } class TestAccountServiceImpl : AccountService { override suspend fun getMyAccountProfile(): AccountProfile { return TestDatabase.accountData.first { it.id == 0 } } override suspend fun getAccountProfileById(id: Int): AccountProfile { return TestDatabase.accountData.first { it.id == id } } }