mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 09:59:00 -07:00
c1253663b7
* refactor(mobile): services and provider * providers
8 lines
236 B
Dart
8 lines
236 B
Dart
import 'package:immich_mobile/services/api.service.dart';
|
|
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
|
|
|
part 'api.provider.g.dart';
|
|
|
|
@Riverpod(keepAlive: true)
|
|
ApiService apiService(ApiServiceRef ref) => ApiService();
|