Skip to content

Commit

Permalink
feat(#58) retira função desnecessaria
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielCostaDeOliveira committed Dec 7, 2024
1 parent 0d86c82 commit 38c1c37
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/ui/edit_profile/viewModel/EditProfileViewModel.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import 'package:aranduapp/core/log/Log.dart';
import 'package:flutter/material.dart';

import 'package:aranduapp/ui/edit_profile/service/EditProfileService.dart';
import 'package:aranduapp/ui/edit_profile/model/EditProfileRequest.dart';

class EditProfileViewModel extends ChangeNotifier {
final BuildContext context;

Expand Down Expand Up @@ -51,15 +47,4 @@ class EditProfileViewModel extends ChangeNotifier {
}
}

Future<void> getRefreshTokenFuture() async {
try {
// Exemplo de simulação de uma operação assíncrona:
await Future.delayed(const Duration(seconds: 2));
// Aqui você deve chamar o serviço real que renova o token de autenticação.
// Exemplo:
// await LoginService.refreshToken();
} catch (e) {
throw Exception('Erro ao renovar o token: $e');
}
}
}

0 comments on commit 38c1c37

Please sign in to comment.