Skip to content

Commit

Permalink
[#42] Create the user repository
Browse files Browse the repository at this point in the history
  • Loading branch information
nmint8m committed Feb 15, 2023
1 parent 4b87c1b commit a34fb09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/api/repository/user_repository.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:injectable/injectable.dart';
import 'package:kayla_flutter_ic/api/api_service.dart';
import 'package:kayla_flutter_ic/api/exception/network_exceptions.dart';
import 'package:kayla_flutter_ic/api/response/me_response.dart';
Expand All @@ -6,6 +7,7 @@ abstract class UserRepository {
Future<MeResponse> me();
}

@Singleton(as: UserRepository)
class UserRepositoryImpl extends UserRepository {
final ApiService _apiService;

Expand Down

0 comments on commit a34fb09

Please sign in to comment.