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
@@ -3,7 +3,6 @@ import 'package:fcm/model/firebase_subscription.dart';
import 'package:fcm/model/type_name.dart';
import 'package:jmap_dart_client/jmap/account_id.dart';
import 'package:jmap_dart_client/jmap/core/properties/properties.dart';
import 'package:model/fcm/fcm_token_dto.dart';
import 'package:tmail_ui_user/features/push_notification/data/datasource/fcm_datasource.dart';
import 'package:tmail_ui_user/features/push_notification/domain/model/register_new_token_request.dart';
import 'package:tmail_ui_user/features/push_notification/domain/repository/fcm_repository.dart';
@@ -22,21 +21,6 @@ class FCMRepositoryImpl extends FCMRepository {
this._threadDataSource
);
@override
Future<FCMTokenDto> getFCMToken(String accountId) {
return _fcmDatasource[DataSourceType.local]!.getFCMToken(accountId);
}
@override
Future<void> setFCMToken(FCMTokenDto fcmTokenDto) {
return _fcmDatasource[DataSourceType.local]!.setFCMToken(fcmTokenDto);
}
@override
Future<void> deleteFCMToken(String accountId) {
return _fcmDatasource[DataSourceType.local]!.deleteFCMToken(accountId);
}
@override
Future<EmailsResponse> getEmailChangesToPushNotification(
AccountId accountId,