TF-571 Add Account Repository to manage accounts
This commit is contained in:
committed by
Dat H. Pham
parent
a7d54479d9
commit
f8e7429751
@@ -0,0 +1,7 @@
|
||||
import 'package:model/account/account.dart';
|
||||
|
||||
abstract class AccountDatasource {
|
||||
Future<Account> getCurrentAccount();
|
||||
|
||||
Future<void> setCurrentAccount(Account newCurrentAccount);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
import 'package:model/account/account.dart';
|
||||
|
||||
abstract class AccountRepository {
|
||||
Future<Account> getCurrentAccount();
|
||||
|
||||
Future<void> setCurrentAccount(Account newCurrentAccount);
|
||||
}
|
||||
Reference in New Issue
Block a user