TF-439 Delete all class not used

This commit is contained in:
dab246
2022-11-30 12:34:27 +07:00
committed by Dat H. Pham
parent 81278d13ba
commit d990426c8e
22 changed files with 2 additions and 302 deletions
@@ -1,17 +1,10 @@
import 'package:fcm/model/firebase_subscription.dart';
import 'package:fcm/model/type_name.dart';
import 'package:model/fcm/fcm_token_dto.dart';
import 'package:jmap_dart_client/jmap/core/state.dart' as jmap;
import 'package:tmail_ui_user/features/push_notification/domain/model/register_new_token_request.dart';
abstract class FCMDatasource {
Future<FCMTokenDto> getFCMToken(String accountId);
Future<void> setFCMToken(FCMTokenDto fcmToken);
Future<void> deleteFCMToken(String accountId);
Future<bool> storeStateToRefresh(TypeName typeName, jmap.State newState);
Future<jmap.State> getStateToRefresh(TypeName typeName);