profile dependencies added
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import 'package:tm_app/data/services/profile_service.dart';
|
||||
|
||||
import '../../core/utils/result.dart';
|
||||
import '../services/model/profile_response/profile_response.dart';
|
||||
|
||||
class ProfileRepository {
|
||||
ProfileRepository({required ProfileService profileService})
|
||||
: _profileService = profileService;
|
||||
final ProfileService _profileService;
|
||||
|
||||
Future<Result<ProfileResponse>> getProfile() async {
|
||||
return _profileService.getProfile();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user